POST v1/Fundraising/Checkout/GetRemotePaymentRequest

Gets the remote payment request data for fundraising.

Request Information

URI Parameters

None.

Body Parameters

RemotePaymentRequestInputForFundraising
NameDescriptionTypeAdditional information
productId

integer

Required

amount

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "productId": 1,
  "amount": 2.0
}

text/html

Sample:
{"productId":1,"amount":2.0}

application/xml, text/xml

Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.RemotePaymentRequestInputForFundraising xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint">
  <amount>2</amount>
  <productId>1</productId>
</v1_ShoppingCarts_ShoppingCartEndpointController.RemotePaymentRequestInputForFundraising>

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 'RemotePaymentRequestInputForFundraising'.

Response Information

Resource Description

RemotePaymentRequestOutputForFundraising
NameDescriptionTypeAdditional information
outputPaymentURL

The generated request data for remote payment.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "outputPaymentURL": "sample string 1"
}

text/html

Sample:
{"outputPaymentURL":"sample string 1"}

application/xml, text/xml

Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.RemotePaymentRequestOutputForFundraising xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint">
  <outputPaymentURL>sample string 1</outputPaymentURL>
</v1_ShoppingCarts_ShoppingCartEndpointController.RemotePaymentRequestOutputForFundraising>