POST api/CreditCardTransaction?user={user}&pass={pass}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
user | string |
Default value is |
|
pass | string |
Default value is |
Body Parameters
CreditCardTransactionClassName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
AcquirerId | string |
None. |
|
MerchantId | string |
None. |
|
Currency | string |
None. |
|
Amount | decimal number |
None. |
|
id_client | integer |
None. |
|
id_saler_branch | integer |
None. |
|
card_number_safe | string |
None. |
|
card_type | string |
None. |
|
AVSResult | string |
None. |
|
AuthCode | string |
None. |
|
CVV2Result | string |
None. |
|
OriginalResponseCode | string |
None. |
|
PaddedCardNumber | string |
None. |
|
ReasonCode | string |
None. |
|
ReasonCodeDescription | string |
None. |
|
ReferenceNumber | string |
None. |
|
ResponseCode | string |
None. |
|
TokenizedPAN | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "AcquirerId": "sample string 2", "MerchantId": "sample string 3", "Currency": "sample string 4", "Amount": 5.1, "id_client": 6, "id_saler_branch": 7, "card_number_safe": "sample string 8", "card_type": "sample string 9", "AVSResult": "sample string 10", "AuthCode": "sample string 11", "CVV2Result": "sample string 12", "OriginalResponseCode": "sample string 13", "PaddedCardNumber": "sample string 14", "ReasonCode": "sample string 15", "ReasonCodeDescription": "sample string 16", "ReferenceNumber": "sample string 17", "ResponseCode": "sample string 18", "TokenizedPAN": "sample string 19" }
application/xml, text/xml
Sample:
<CreditCardTransactionClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSalesServer.Models"> <AVSResult>sample string 10</AVSResult> <AcquirerId>sample string 2</AcquirerId> <Amount>5.1</Amount> <AuthCode>sample string 11</AuthCode> <CVV2Result>sample string 12</CVV2Result> <Currency>sample string 4</Currency> <MerchantId>sample string 3</MerchantId> <OriginalResponseCode>sample string 13</OriginalResponseCode> <PaddedCardNumber>sample string 14</PaddedCardNumber> <ReasonCode>sample string 15</ReasonCode> <ReasonCodeDescription>sample string 16</ReasonCodeDescription> <ReferenceNumber>sample string 17</ReferenceNumber> <ResponseCode>sample string 18</ResponseCode> <TokenizedPAN>sample string 19</TokenizedPAN> <card_number_safe>sample string 8</card_number_safe> <card_type>sample string 9</card_type> <id>1</id> <id_client>6</id_client> <id_saler_branch>7</id_saler_branch> </CreditCardTransactionClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |