Authentication
All endpoints require either a Bearer token or an API key.Deposit lifecycle
NGN deposits move through the following status sequence:List deposits
GET https://api.dubupay.com/api/v1/payments/deposits
Returns a paginated list of deposits. You can filter by type, status, associated onramp or offramp, and date range.
Query parameters
Filter by deposit type. One of
NGN_DEPOSIT or CRYPTO_DEPOSIT.Filter by status. One of
PENDING, COMPLETED, FAILED, FLAGGED, REVERSED.Filter deposits that arrived through a specific onramp.
Filter deposits associated with a specific offramp.
Start of the date range in ISO 8601 format with timezone offset (e.g.,
2024-01-01T00:00:00+01:00).End of the date range in ISO 8601 format with timezone offset.
Page number (1-indexed).
Results per page. Up to 100.
Response
List of deposit objects.
Example
Example — filter by date range
Get a deposit
GET https://api.dubupay.com/api/v1/payments/deposits/:id
Retrieves a single deposit by ID with full detail including settlement information.
Path parameters
The deposit ID.
Response
Full deposit object.
Example
Simulate a deposit (sandbox only)
POST https://api.dubupay.com/api/v1/payments/sandbox/deposits
Triggers a simulated NGN deposit on a given onramp. Only available in test/sandbox mode. Use this to test your webhook handlers and deposit processing logic without sending real bank transfers.
Request body
The ID of the onramp to simulate the deposit against. The onramp must be in
ACTIVE status.When set to
true, the simulated deposit is created with a FLAGGED status to test your compliance-handling flows. Defaults to false.