POST v1/MembershipApplication/Checkout/ApplePay

Completes membership product checkout using Apple Pay.

Request Information

URI Parameters

None.

Body Parameters

membershipApplePayInput
NameDescriptionTypeAdditional information
cardNumber

string

Required

saveForFutureUse

boolean

None.

CCPartial

string

None.

Request Formats

application/json, text/json

Sample:
{
  "cardNumber": "sample string 1",
  "saveForFutureUse": true,
  "CCPartial": "sample string 2"
}

text/html

Sample:
{"cardNumber":"sample string 1","saveForFutureUse":true,"CCPartial":"sample string 2"}

application/xml, text/xml

Sample:
<v1_MembershipProducts_MembershipProductEndpointController.membershipApplePayInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_MembershipProducts_MembershipProductEndpoint">
  <CCPartial>sample string 2</CCPartial>
  <cardNumber>sample string 1</cardNumber>
  <saveForFutureUse>true</saveForFutureUse>
</v1_MembershipProducts_MembershipProductEndpointController.membershipApplePayInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'membershipApplePayInput'.

Response Information

Resource Description

membershipApplePayOutput
NameDescriptionTypeAdditional 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.membershipApplePayOutput 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.membershipApplePayOutput>