POST v1/Fundraising/Checkout/ApplePay
Completes fundraising checkout using Apple Pay.
Request Information
URI Parameters
None.
Body Parameters
fundraisingApplePayInputName | Description | Type | Additional information |
---|---|---|---|
productId | integer |
Required |
|
amount | decimal number |
Required |
|
cardNumber | string |
Required |
|
saveForFutureUse | boolean |
None. |
|
CCPartial | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "productId": 1, "amount": 2.0, "cardNumber": "sample string 3", "saveForFutureUse": true, "CCPartial": "sample string 4" }
text/html
Sample:
{"productId":1,"amount":2.0,"cardNumber":"sample string 3","saveForFutureUse":true,"CCPartial":"sample string 4"}
application/xml, text/xml
Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.fundraisingApplePayInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint"> <CCPartial>sample string 4</CCPartial> <amount>2</amount> <cardNumber>sample string 3</cardNumber> <productId>1</productId> <saveForFutureUse>true</saveForFutureUse> </v1_ShoppingCarts_ShoppingCartEndpointController.fundraisingApplePayInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
fundraisingApplePayOutputName | 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_ShoppingCarts_ShoppingCartEndpointController.fundraisingApplePayOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint"> <id>1</id> </v1_ShoppingCarts_ShoppingCartEndpointController.fundraisingApplePayOutput>