POST Api/Subscription/StripePayment/StripeChargeCustomer
Request Information
URI Parameters
None.
Body Parameters
StripeChargeGateWay| Name | Description | Type | Additional information |
|---|---|---|---|
| StripeCustomerId | string |
None. |
|
| Amount | decimal number |
None. |
|
| StripeToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StripeCustomerId": "sample string 1",
"Amount": 1.0,
"StripeToken": "sample string 2"
}
application/xml, text/xml
Sample:
<StripeChargeGateWay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription"> <Amount>1</Amount> <StripeCustomerId>sample string 1</StripeCustomerId> <StripeToken>sample string 2</StripeToken> </StripeChargeGateWay>
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. |