POST api/payment/create-intent
Request Information
URI Parameters
None.
Body Parameters
PaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StripeToken | string |
None. |
|
| Amount | integer |
None. |
|
| Currency | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StripeToken": "sample string 1",
"Amount": 2,
"Currency": "sample string 3"
}
application/xml, text/xml
Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StripePaymentService.Models"> <Amount>2</Amount> <Currency>sample string 3</Currency> <StripeToken>sample string 1</StripeToken> </PaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.