PUT api/CIH/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CIHTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CCNumber | string |
None. |
|
| CardExpireDate | string |
None. |
|
| Cvv2 | string |
None. |
|
| TrackII | string |
None. |
|
| HolderName | string |
None. |
|
| HolderAddress | string |
None. |
|
| HolderPostalCode | string |
None. |
|
| InvoiceId | integer |
None. |
|
| TransactionAmount | decimal number |
None. |
|
| MerchantId | integer |
None. |
|
| RitaId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ccNumber": "sample string 1",
"cardExpireDate": "sample string 2",
"cvv2": "sample string 3",
"trackII": "sample string 4",
"holderName": "sample string 5",
"holderAddress": "sample string 6",
"holderPostalCode": "sample string 7",
"invoiceId": 8,
"transactionAmount": 9.0,
"merchantId": 10,
"ritaId": 11
}
application/xml, text/xml
Sample:
<CIHTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI_REST_Interface"> <CCNumber>sample string 1</CCNumber> <CardExpireDate>sample string 2</CardExpireDate> <Cvv2>sample string 3</Cvv2> <HolderAddress>sample string 6</HolderAddress> <HolderName>sample string 5</HolderName> <HolderPostalCode>sample string 7</HolderPostalCode> <InvoiceId>8</InvoiceId> <MerchantId>10</MerchantId> <RitaId>11</RitaId> <TrackII>sample string 4</TrackII> <TransactionAmount>9</TransactionAmount> </CIHTokenRequest>
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. |