POST Api/Subscription/StripePayment/CreatePaymentIntent
Request Information
URI Parameters
None.
Body Parameters
CreatePaymentIntentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | string |
None. |
|
| CustomerEmail | string |
None. |
|
| Amount | decimal number |
None. |
|
| InvoiceId | integer |
None. |
|
| SubscriptionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": "sample string 1",
"CustomerEmail": "sample string 2",
"Amount": 3.0,
"InvoiceId": 4,
"SubscriptionId": "sample string 5"
}
application/xml, text/xml
Sample:
<CreatePaymentIntentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription"> <Amount>3</Amount> <CustomerEmail>sample string 2</CustomerEmail> <CustomerId>sample string 1</CustomerId> <InvoiceId>4</InvoiceId> <SubscriptionId>sample string 5</SubscriptionId> </CreatePaymentIntentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |