POST api/Payment
Request Information
URI Parameters
None.
Body Parameters
CustomerInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerName | string |
None. |
|
| CustomerSurname | string |
None. |
|
| TelephoneNumber | string |
String length: inclusive between 0 and 11 |
|
| EmailAddress | string |
None. |
|
| IPAddress | string |
None. |
|
| CustomerAddress | string |
None. |
|
| CustomerPostalCode | string |
None. |
|
| CustomerCountry | string |
None. |
|
| ordertotal | string |
None. |
|
| currency | string |
None. |
|
| productname | string |
None. |
|
| productquantity | string |
None. |
|
| trxid | string |
None. |
|
| okurl | string |
None. |
|
| failurl | string |
None. |
|
| affcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerName": "sample string 1",
"CustomerSurname": "sample string 2",
"TelephoneNumber": "sample string 3",
"EmailAddress": "sample string 4",
"IPAddress": "sample string 5",
"CustomerAddress": "sample string 6",
"CustomerPostalCode": "sample string 7",
"CustomerCountry": "sample string 8",
"ordertotal": "sample string 9",
"currency": "sample string 10",
"productname": "sample string 11",
"productquantity": "sample string 12",
"trxid": "sample string 13",
"okurl": "sample string 14",
"failurl": "sample string 15",
"affcode": "sample string 16"
}
application/xml, text/xml
Sample:
<ValuesController.CustomerInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GatewayApp.Controllers"> <CustomerAddress>sample string 6</CustomerAddress> <CustomerCountry>sample string 8</CustomerCountry> <CustomerName>sample string 1</CustomerName> <CustomerPostalCode>sample string 7</CustomerPostalCode> <CustomerSurname>sample string 2</CustomerSurname> <EmailAddress>sample string 4</EmailAddress> <IPAddress>sample string 5</IPAddress> <TelephoneNumber>sample string 3</TelephoneNumber> <affcode>sample string 16</affcode> <currency>sample string 10</currency> <failurl>sample string 15</failurl> <okurl>sample string 14</okurl> <ordertotal>sample string 9</ordertotal> <productname>sample string 11</productname> <productquantity>sample string 12</productquantity> <trxid>sample string 13</trxid> </ValuesController.CustomerInformation>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.