Skip to main content

Receipt

Once a transaction is SUCCESS, its receiptUrl points to GET /v3/bills/transactions/{transactionId}/receipt. The response is the file itself, not a JSON envelope.
Read Content-Type to decide the file extension. Sandbox receipts are PNG images. Errors keep the JSON envelope: 404 NOT_FOUND when the transaction is not yours, is not SUCCESS, or has no receipt. Store the file together with operationId and transactionId. Give your customer the receipt, not just a confirmation message.

AADL payment notice

For AADL transactions, GET /v3/bills/transactions/{transactionId}/avis returns the biller’s avis de paiement as a PDF. It is available as soon as the discovery is READY, so you can show the notice before the customer pays.
404 NOT_FOUND for any other biller, for an unknown transaction, or while the notice is not available yet.

History

GET /v3/bills/transactions lists your transactions, newest first, scoped to your key’s environment.
meta carries total, limit and offset for pagination.
Each row carries the same fields as GET /v3/bills/transactions/{transactionId}, including bills, selectedBills and error.

Daily reconciliation

  1. List yesterday’s transactions with status=SUCCESS, paging with offset.
  2. Match each transactionId against your own ledger. Compare total with what you charged your customer.
  3. List status=REFUNDED and make sure each one is refunded on your side too.
  4. List status=UNKNOWN and keep them open until they resolve.
Any SUCCESS you do not have on your side is a payment you accepted but did not record; any record on your side without a SUCCESS is money you should not have taken.

Next: Sandbox testing

Reproduce every outcome with test accounts