Skip to main content
POST
Check payment status

Authorizations

Authorization
string
header
required

Your private key, Base64-encoded.

Encode the key before sending it — for example base64_encode($privateKey) in PHP or Buffer.from(privateKey).toString('base64') in Node.js. Paste the already-encoded value here when testing from these docs.

Use your test key here. This console only calls the sandbox environment, so a production key will not authenticate.

Body

application/json
trackid
string
required

The Track ID you submitted in the original initialization request.

Maximum string length: 255
Example:

"1000"

payment_id
string
required

The PaymentID Payzah returned in the initialization response. Not your own order ID.

Maximum string length: 255
Example:

"2023020818520981564303"

Response

200 - application/json

Always returned with HTTP 200. Check the status field to determine success or failure.

status
boolean

true when a matching payment record was found.

Example:

true

data
object