POST Api/Subscription/StripePayment/ChargeCustomerByStripeId
Request Information
URI Parameters
None.
Body Parameters
StripeChargeInvoiceModelName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | integer |
None. |
|
StripeCustomerId | string |
None. |
|
Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "InvoiceId": 1, "StripeCustomerId": "sample string 2", "Amount": 1.0 }
application/xml, text/xml
Sample:
<StripeChargeInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription"> <Amount>1</Amount> <InvoiceId>1</InvoiceId> <StripeCustomerId>sample string 2</StripeCustomerId> </StripeChargeInvoiceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |