4. Handle the callback

Paga sends this to your server. You don’t call it; build an endpoint at your callback URL that accepts it.

Sent to your callBackUrl when a payment request is paid, expires or is cancelled. Check the hash, then respond with HTTP 200. Paga retries up to three times with the same notificationId, so de-duplicate on it.

Hash: notificationId + statusCode + externalReferenceNumber + state + outstandingBalance + hashKey. Format outstandingBalance with two decimal places and no commas; leave it out if it’s null.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Defaults to PAYMENT_COMPLETE
string
Defaults to a12ef82b-14d0-4a67-a08c-162b95154f59

Unique ID. Retries use the same one.

string
Defaults to 0
string
Defaults to Payment Request has been authorized
string
Defaults to ORD-2026-0187

Your referenceNumber.

string
Defaults to CONSUMED
number | null
Defaults to 0
number
Defaults to 50.41
number
Defaults to 50.41
number
Defaults to 0.41
fundingDetails
object
string
Defaults to 33f9c9bd0785c2cc…
Response
200

Return HTTP 200 once you’ve verified and recorded the callback.

Language
LoadingLoading…