Skip to main content

Collection TSC

A merchant can use this endpoint to accept customer payments, confirm successful collections, track transaction histories, reconcile accounts, and integrate with order management systems for smooth payment processing.

POST https://subsidiary.dev.mypaygate.co/collection/v1/check-status

The Collections Status Check API provides programmatic access to collection records, offering real-time insights into collection status (pending, resolved, disputed, etc.)

Sample Payload Object

{
"requestHeader": {
"clientId": "",
"requestType": "GH-Collections"
},
"transactionReference": "abc12893323",
"transactionCountry": "GH"
}

Headers

Header NameValue
Content-Typeapplication/json
x-moduleBase_64(TransactionReference)
x-businessBase_64(merchant public key)
x-appapi

Sample Request (POST)

curl --location 'https://subsidiary.dev.mypaygate.co/collection/v1/check-status' --header 'Accept: application/json' --header 'X-module: YWJjMTI4OTMzMjM=' --header 'X-business: UEstMS1lOWEyZmM0NDgxMTg0NjU1LVQzbUpCRzU4blExNGlHOGFrOXZ1dGpQVzdERmxDZ0RW' --header 'Content-Type: application/json' --header 'X-app: xxx' --data '{
"requestHeader": {
"clientId": "",
"requestType": "GH-Collections"
},
"transactionReference": "abc12893323",
"transactionCountry": "GH"
}'

Sample Response

{
"serverResponse": {
"responseDetails": {
"responseMessage": "PENDING",
"responseCode": "09"
}
}
}