POST v1/MembershipApplication/Checkout/SavedPayment
Completes membership product checkout using saved payment method.
Request Information
URI Parameters
None.
Body Parameters
membershipSavedPaymentInput| Name | Description | Type | Additional information |
|---|---|---|---|
| cvv | string |
None. |
|
| savedPaymentId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"cvv": "sample string 1",
"savedPaymentId": 2
}
text/html
Sample:
{"cvv":"sample string 1","savedPaymentId":2}
application/xml, text/xml
Sample:
<v1_MembershipProducts_MembershipProductEndpointController.membershipSavedPaymentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_MembershipProducts_MembershipProductEndpoint"> <cvv>sample string 1</cvv> <savedPaymentId>2</savedPaymentId> </v1_MembershipProducts_MembershipProductEndpointController.membershipSavedPaymentInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
membershipSavedPaymentOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of created order |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1
}
text/html
Sample:
{"id":1}
application/xml, text/xml
Sample:
<v1_MembershipProducts_MembershipProductEndpointController.membershipSavedPaymentOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_MembershipProducts_MembershipProductEndpoint"> <id>1</id> </v1_MembershipProducts_MembershipProductEndpointController.membershipSavedPaymentOutput>