API Reference

Check Payment Status

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

ParameterTypeDetails
client_idstringYour client ID
secret_idstringYour secret key
tokenstringThe payment token from Create a Payment

Request example (PHP, Guzzle)

PHP
<?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)

JSON
{
  "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"
}
statusMeaning
awaiting_paymentCreated; the customer has not paid yet
processingThe customer has confirmed and the payment is being completed
successPaid; trx_id is the DPay transaction ID
expiredThe payment was not completed in time

Get the App

Coming soon on Google Play
Coming soon on the App Store

DPay is coming to Android and iPhone. Leave your e-mail in the footer and we will tell you when it is ready.

Prefer your browser? Open an account on the web