POST Api/IdentityPortal/Subscription/ChargeCustomer
Request Information
URI Parameters
None.
Body Parameters
ChargeCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| InvoiceId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Amount": 2.0,
"InvoiceId": 3
}
application/xml, text/xml
Sample:
<ChargeCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.IdentityPortal"> <Amount>2</Amount> <CustomerId>1</CustomerId> <InvoiceId>3</InvoiceId> </ChargeCustomer>
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. |