Transaction Lookup
Testing
POST
https://ws2-payments.datmanpay.com/antar/api/v1/transactions/lookup
Transaction Lookup API
Key Details:
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ws2-payments.datmanpay.com/antar/api/v1/transactions/lookup' \
--header 'api_token: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_ids": [
"3555f1ab-6e0d-48c3-b9e9-439752b9b10",
"3887e65-6ytuw-48c3-b9e9-ee39b21"
]
}'
Response Response Example
200 - Example 1
{
transactions : [
{
"xref": "O231608066T432334455",
"order_id": "XYZ1096328191",
"amount": 12000
"payment_status": "OK"
"reason": ""
},
{
"xref": "O231608065T432334454",
"order_id": "XYZ1096328192",
"amount": 15000
"payment_status": "FAILED",
"reason": "Invalid CVV"
}
]
}
Request
Header Params
Content-Type
stringÂ
required
Example:
application/json
api_token
stringÂ
required
Example:
{{API_KEY}}
Body Params application/json