POST Purchase/Purchase
Request Information
URI Parameters
None.
Body Parameters
PurchaseCreditCardRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | string |
None. |
|
| CreditCardID | integer |
None. |
|
| DeviceInfo | string |
None. |
|
| deviceFingerprintID | string |
None. |
|
| IPAddress | string |
None. |
|
| CodePromotion | string |
None. |
|
| PaymentType | integer |
None. |
|
| BagID | integer |
None. |
|
| Operador | string |
None. |
|
| phone | string |
None. |
|
| code | integer |
None. |
|
| CategoryID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": "sample string 1",
"CreditCardID": 2,
"DeviceInfo": "sample string 3",
"deviceFingerprintID": "sample string 4",
"IPAddress": "sample string 5",
"CodePromotion": "sample string 6",
"PaymentType": 7,
"BagID": 8,
"Operador": "sample string 9",
"phone": "sample string 10",
"code": 11,
"CategoryID": 12
}
application/xml, text/xml
Sample:
<PurchaseCreditCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Recargate.Models"> <Amount>sample string 1</Amount> <BagID>8</BagID> <CategoryID>12</CategoryID> <CodePromotion>sample string 6</CodePromotion> <CreditCardID>2</CreditCardID> <DeviceInfo>sample string 3</DeviceInfo> <IPAddress>sample string 5</IPAddress> <Operador>sample string 9</Operador> <PaymentType>7</PaymentType> <code>11</code> <deviceFingerprintID>sample string 4</deviceFingerprintID> <phone>sample string 10</phone> </PurchaseCreditCardRequest>
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. |