Get a collection
Authorization
ApiKeyAuth The API key identifies your business. Requests do not include a business ID.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/collections/string"{ "status": true, "data": { "id": "string", "reference": "string", "type": "offramp", "status": "active", "recipient_id": "string", "customer": { "name": "string", "email": "user@example.com" }, "deposit_addresses": [ { "address": "string", "networks": [ "BASE" ] } ], "deposit_account": { "account_number": "string", "account_name": "string", "bank_name": "string" }, "last_deposit_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }}Create a collection POST
Give one of your users permanent payment details. The payout account in `recipient_id` decides the kind of collection: - A `bank_account` creates an `offramp` collection: permanent stablecoin deposit addresses. Each deposit becomes an offramp order that pays naira to the bank account. - A `crypto_address` creates an `onramp` collection: a permanent naira bank account. Each transfer becomes an onramp order that sends the payout account's stablecoin to its address. `reference` makes the request safe to retry. Sending the same `reference` with the same kind of payout account returns the existing collection and ignores the other fields.
List collections GET
List your collections from newest to oldest.