POST Payment/Recharge
Request Information
URI Parameters
None.
Body Parameters
RechargeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpiryMonth | string |
None. |
|
| ExpiryYear | string |
None. |
|
| customerId | integer |
None. |
|
| productId | integer |
None. |
|
| subTotal | decimal number |
None. |
|
| Paymenttype | string |
None. |
|
| CreditCardNo | string |
None. |
|
| CVV | string |
None. |
|
| CurrencyCode | string |
None. |
|
| Locale | string |
None. |
|
| ShopId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExpiryMonth": "sample string 1",
"ExpiryYear": "sample string 2",
"customerId": 3,
"productId": 4,
"subTotal": 5.0,
"Paymenttype": "sample string 6",
"CreditCardNo": "sample string 7",
"CVV": "sample string 8",
"CurrencyCode": "sample string 9",
"Locale": "sample string 10",
"ShopId": 11
}
application/xml, text/xml
Sample:
<RechargeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL"> <CVV>sample string 8</CVV> <CreditCardNo>sample string 7</CreditCardNo> <CurrencyCode>sample string 9</CurrencyCode> <Locale>sample string 10</Locale> <Paymenttype>sample string 6</Paymenttype> <ShopId>11</ShopId> <customerId>3</customerId> <productId>4</productId> <subTotal>5</subTotal> <ExpiryMonth>sample string 1</ExpiryMonth> <ExpiryYear>sample string 2</ExpiryYear> </RechargeInput>
application/x-www-form-urlencoded
Sample:
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. |