Queries
(POST /query)
Payload
- transaction_id (string): Identifier of the transaction
000024899463550243139
- order (string): Ticket of the operation
sipay-order-001
Request example - Search by Ticket
{
"key": "589365da65c48cff87d0874a",
"resource": "359ef8ce5c5f4003b71692e446908c27",
"nonce": "1234567890",
"mode": "sha256",
"payload": {
"order": "sipay-order-001"
}
}
Request example- Search by Transaction Identifier
{
"key": "589365da65c48cff87d0874a",
"resource": "359ef8ce5c5f4003b71692e446908c27",
"nonce": "1234567890",
"mode": "sha256",
"payload": {
"transaction_id": "000024899463550243139",
}
}
Success - 0 - query
- code (string, required): Internal operation code. Refer to Response Codes
0
- items (array[object], required): List of different operations
- description (string): Literal description of the operation status
OPERATION ACCEPTED
- date (string): Date of the operation
2017-02-27
- order (string): Ticket of the operation
sipay-order-001
- masked_card (string): Masked card number
6712 00** ****0205
- code (string): Internal operation code. Refer to Response Codes
0
- currency_id (string): Currency code used in the operation
978
- currency (string): Currency used in the operation
EUR
- operation_name (string): Literal name of the operation type
ECOMMERCESELL
- operation (string): Identifier of the operation type
11
- transaction_id (string): Identifier of the transaction
000024899463550243139
- status (string): Identifier of the operation status
0
- amount (string): Amount of the operation
0000000100
- authorization_id (string): Identifier of the authorizing entity
2347
- channel_name (string): Literal name of the payment channel
ECOMMERCE
- channel (string): Identifier of the payment channel
2
- time (string): Time of the operation
09:27:43
- method (string): Identifier of the payment method
1
- method_name (string): Literal identifier of the payment method
CARD
- description (string): Literal description of the operation status
Response example
{
"type": "success",
"code": "0",
"detail": "",
"description": "",
"uuid": "2df61337-c0c5-4b90-ab8c-6098c8b118ce",
"request_id": "5901ba6d7710014a2c89",
"payload": {
"code": "0",
"items": [
{
"channel_name": "ECOMMERCE",
"currency_id": "978",
"channel": "2",
"method": "1",
"currency": "EUR",
"date": "2017-04-27",
"order": "rbm-order-002",
"transaction_id": "000097038725267261028",
"code": "900",
"method_name": "TARJETA",
"operation": "12",
"amount": "0000000500",
"authorization_id": "1132492",
"description": "DEVOLUCION AUTORIZADA",
"masked_card": "6712 00** ****0205",
"operation_name": "ECOMMERCEREFUND",
"time": "14:54:31",
"status": "0"
}
]
}
}