POST Api/Subscription/StripePayment/AutoPay
Request Information
URI Parameters
None.
Body Parameters
AutoPaymentMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerEmail | string |
None. |
|
| SubscriptionId | string |
None. |
|
| PaymentMethodId | string |
None. |
|
| InvoiceId | integer |
None. |
|
| PaymentRefernce_Id | string |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentMethodType | string |
None. |
|
| CustomerId | integer |
None. |
|
| InvoiceNumber | string |
None. |
|
| DueDate | string |
None. |
|
| RMD_Mail | boolean |
None. |
|
| SecondaryEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerEmail": "sample string 1",
"SubscriptionId": "sample string 2",
"PaymentMethodId": "sample string 3",
"InvoiceId": 4,
"PaymentRefernce_Id": "sample string 5",
"Amount": 6.0,
"PaymentMethodType": "sample string 7",
"CustomerId": 8,
"InvoiceNumber": "sample string 9",
"DueDate": "sample string 10",
"RMD_Mail": true,
"SecondaryEmail": "sample string 12"
}
application/xml, text/xml
Sample:
<AutoPaymentMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Subscription"> <Amount>6</Amount> <CustomerEmail>sample string 1</CustomerEmail> <CustomerId>8</CustomerId> <DueDate>sample string 10</DueDate> <InvoiceId>4</InvoiceId> <InvoiceNumber>sample string 9</InvoiceNumber> <PaymentMethodId>sample string 3</PaymentMethodId> <PaymentMethodType>sample string 7</PaymentMethodType> <PaymentRefernce_Id>sample string 5</PaymentRefernce_Id> <RMD_Mail>true</RMD_Mail> <SecondaryEmail>sample string 12</SecondaryEmail> <SubscriptionId>sample string 2</SubscriptionId> </AutoPaymentMethodModel>
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. |