POST v1/Fundraising/Checkout/SavedPayment

Completes fundraising checkout using a saved payment method.

Request Information

URI Parameters

None.

Body Parameters

fundraisingSavedPaymentInput
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

fundraisingSavedPaymentOutput
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_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>