I’m testing in the PayPack sandbox. After a successful payment request (user gets the popup and ref is returned), trying to track the transaction with /transactions/find/{ref} always returns:
curl --location --request GET
‘https://payments.paypack.rw/api/transactions/find/c605090f-cd1b-402a-a553-2a78ed88ba0c’
–header ‘Accept: application/json’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer <sandbox_token>’
{
“message”: “transaction not found”
}
Is this expected in the sandbox? How can I track the transaction status after the popup?
Hello Sincere,
This is the intended behavior. Only successful and failed transactions can be found through /transactions endpoint.
Pending transactions are considered as events so to track those you can use the /events
endpoint.
You can read through its docs and if there are any further issues feel free to ask.
on successfull, I get
Find Transaction Response:
{
“http_code”: 200,
“response”: “{\n "ref": "1965b89c-c3c4-4962-924c-14cccb76a104",\n "amount": 100,\n "fee": 2.3,\n "kind": "CASHIN",\n "provider": "mtn",\n "client": "07xxx",\n "metadata": {},\n "merchant": "3TXYBR",\n "timestamp": "2025-06-19T14:43:54.030957Z"\n}\n”,
“decoded”: {
“ref”: “ref_no”,
“amount”: 100,
“fee”: 2.3,
“kind”: “CASHIN”,
“provider”: “mtn”,
“client”: “07xxx”,
“metadata”: [],
“merchant”: “3TXYBR”,
“timestamp”: “2025-06-19T14:43:54.030957Z”
},
“status”: null
}
Status: N/A (No status field in response) is it correct ?