Skip to main content
The Collections API creates virtual accounts that businesses can use to receive payments and match incoming funds to customers. Use NGN for Naira virtual-account flows and USD for the Bridge-backed collection flow.

Supported partners

The currently supported account-issuing partners are:
  • VFD Microfinance Bank
  • Bridge for USD collection accounts

Create Virtual Account

To create a virtual account, use the create collection endpoint. Parameters
string
The unique identifier for the customer who will own the collection account.
string
required
The three-letter ISO currency code in uppercase. Use NGN for Naira accounts and USD for USD collection accounts.
string
merchant name that will be displayed on the virtual account. Required for ONE_TIME (Temporary) virtual account.
string
required
virtual account type e.g DEFAULT (Permanent), ONE_TIME (Temporary)
number
amount expected to be paid into the virtual account. Required for ONE_TIME (Temporary) virtual account.
object
Required when currency is USD. This contains the customer identity, address, document, source of funds, and supporting document details required for USD account issuance.
Note: customer_id is required for DEFAULT permanent virtual accounts.
Request Body

USD collection accounts

USD collection accounts are issued through Swervpayโ€™s Bridge-backed collection flow. Before creating a USD collection account, create the customer and submit customer KYC. Then create a DEFAULT collection with currency set to USD and include the required additional_information payload. USD account issuance can be asynchronous. If the customer is already approved, the account details may be available shortly after creation. If additional review is required, listen for the collection.created or collection.created.failed webhook event.
USD Request Body
Swervpay securely submits the required customer data to Bridge, creates or reuses the Bridge customer profile, and issues the USD deposit account when the customer is approved.

๐Ÿ” Get Collection Details

Retrieve detailed information about a collection with its unique identifier using the get collection endpoint. Path Parameters
string
required
The unique identifier of the collection to retrieve.

๐Ÿ” Get All Collections

Retrieve a list of all collections by sending a request to the get all collections endpoint. Query Parameters
integer
The page to return.
integer
The maximum number of results to return.
Response Example The collection endpoints return account objects with wallet-style fields such as account number, bank details, currency, balance, and status. Store the collection ID and account details returned by the API so you can match incoming payments to the correct customer.
Response

๐Ÿงพ Get Collection Transactions

Review payments received into a collection account with the collection transactions endpoint.
string
required
The unique identifier of the collection whose transactions you want to retrieve.

๐Ÿงช Simulate a Collection Credit

In sandbox only, simulate an incoming credit with the collection credit endpoint. Use this to test collection webhooks and reconciliation flows without moving real funds.
string
required
The unique identifier of the collection to credit.