A deposit is created automatically whenever funds arrive at one of your virtual accounts or onramps. You don’t create deposits directly — instead, you query them to track the status of incoming payments as they move through the conversion and settlement pipeline. In sandbox mode, you can trigger simulated deposits yourself to test your integration end to end.Documentation Index
Fetch the complete documentation index at: https://docs.dubupay.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All endpoints require either a Bearer token or an API key.Deposit lifecycle
NGN deposits move through the following status sequence:| Status | Meaning |
|---|---|
PENDING | Funds received; FX conversion in progress. |
COMPLETED | Deposit fully settled and proceeds delivered. |
FAILED | Conversion or settlement failed. |
FLAGGED | Deposit held for compliance review. |
REVERSED | Funds returned to the sender. |
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.