POST v1/Fundraising/Checkout/SavedPayment
Completes fundraising checkout using a saved payment method.
Request Information
URI Parameters
None.
Body Parameters
fundraisingSavedPaymentInput| Name | Description | Type | Additional information |
|---|---|---|---|
| cvv | string |
None. |
|
| productId | integer |
Required |
|
| amount | decimal number |
Required |
|
| savedPaymentId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"cvv": "sample string 1",
"productId": 2,
"amount": 3.0,
"savedPaymentId": 4
}
text/html
Sample:
{"cvv":"sample string 1","productId":2,"amount":3.0,"savedPaymentId":4}
application/xml, text/xml
Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.fundraisingSavedPaymentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint"> <amount>3</amount> <cvv>sample string 1</cvv> <productId>2</productId> <savedPaymentId>4</savedPaymentId> </v1_ShoppingCarts_ShoppingCartEndpointController.fundraisingSavedPaymentInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
fundraisingSavedPaymentOutput| 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_ShoppingCarts_ShoppingCartEndpointController.fundraisingSavedPaymentOutput 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.fundraisingSavedPaymentOutput>