Parameter of request:
Field title | Description | Type | Mandatory |
---|---|---|---|
auth | Authorization | Auth | yes |
reference | Transaction number of Online Store | String(32) | yes |
Response parameters:
Field title | Description | Type | Mandatory |
---|---|---|---|
transactionId | Transaction number in Antifraud System | Int | Yes |
reference | Transaction number of Online Store | String(32) | Yes |
result | Result of request performance | Int | Yes |
status | Transaction status | ENUM (OK, PENDING, FRAUD, UNKNOWN) | No |
timestamp | Date and time of response in the format of UNIX-timestamp | Int | Yes |
An example of request and response:
CheckStatusTransactionRequest
{
auth: Auth,
reference: “HP232233”
}
CheckStatusTransactionResponse
{
transactionId: 10245789,
reference: “HP232233”,
result: ”10”,
status: “OK”,
timestamp: 1414505799
}