Check a payment from your server before you release an order. Do not rely on the customer's browser arriving at your return link.
Endpoint:POST{{base_url}}/payment/verify
| Parameter | Type | Details |
|---|---|---|
client_id | string | Your client ID |
secret_id | string | Your secret key |
token | string | The payment token from Create a Payment |
Request example (PHP, Guzzle)
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', '{{base_url}}/payment/verify', [
'json' => [
'client_id' => 'YOUR_CLIENT_ID',
'secret_id' => 'YOUR_SECRET_KEY',
'token' => 'PAYMENT_TOKEN',
],
'headers' => [
'accept' => 'application/json',
'content-type' => 'application/json',
],
]);
echo $response->getBody();Response: success (200)
{
"message": { "code": 200, "success": ["SUCCESS"] },
"data": {
"token": "PAYMENT_TOKEN",
"status": "success",
"trx_id": "TRANSACTION_ID",
"amount": "15000.00",
"currency": "NGN",
"custom": "ORDER-10293",
"mode": "production",
"updated_at": "2026-11-20T10:15:00+01:00"
},
"type": "success"
}| status | Meaning |
|---|---|
awaiting_payment | Created; the customer has not paid yet |
processing | The customer has confirmed and the payment is being completed |
success | Paid; trx_id is the DPay transaction ID |
expired | The payment was not completed in time |






