API Reference
The Transact Result API pushes the transaction status to a client as soon as the final status is available in the Clickatell platform, and the Transaction Lookup API (this one) is a secondary API used to confirm the status of a transaction.
Look up a transaction
The Transaction Lookup API is used after a purchase to confirm the transaction status.
The Transaction Lookup API may be used after a purchase to confirm the transaction status
This is your unique client ID assigned by Clickatell during the integration process
909Unique Clickatell reference for the transaction
ffdd34-3wsf8c-seo8w3-f58lUnique client reference for the transaction
seo8w3-3wsf8c-ffdd34-f58lThis is the universally unique identifier that the bank must generate when it reserves funds on a buyer’s account
f58l-3wsf8c-seo8w3-ffdd34Success response
Error response
Error response
GET /apiman-gateway/PaydServices/lookup-api/2.0?clientId=1 HTTP/1.1
Host: api-uat.payd.co
Authorization: Bearer YOUR_SECRET_TOKEN
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": "1",
"raasTxnRef": "ffdd34-3wsf8c-seo8w3-f58l",
"clientTxnRef": "seo8w3-3wsf8c-ffdd34-f58l",
"reserveFundsTxnRef": "f58l-3wsf8c-seo8w3-ffdd34",
"timestamp": "2016-06-29T16:39:42.735Z",
"amount": 100000,
"productId": 120,
"clientId": 100,
"sourceIdentifier": "2341234567899",
"targetIdentifier": "2341234567899",
"channelId": 7,
"channelSessionId": "1449749732818",
"channelName": "1449749732818",
"reserveFundsResponseCode": "f58l-3wsf8c-seo8w3-ffdd34",
"transactResultResponseCode": "0000",
"transactionStatus": "SUCCESS",
"token": "XYZ",
"reserveAmount": 100000,
"feeAmount": 0,
"clientShareAmount": 600,
"settlementAmount": 14400,
"vendAmount": 100000,
"purchaseAmount": 25000
}Last updated