Skip to main content
POST
Create deposit

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Zuba-Account-Id
string<uuid>

Optional. Names an owned sub-account (UUID) to act on. Omit to act at the master (tenant) level. Naming an account this key does not own returns 403 not_account_owner.

Body

application/json
amount
string
required

Amount to deposit (as string to avoid floating-point precision issues). Must be greater than zero.

Pattern: ^[0-9]+(.[0-9]{1,8})?$
Example:

"100.50"

clientRef
string
required

Client reference for idempotency - must be unique per client

Example:

"609eddec-9b97-4f41-8db3-ef9342263418"

currency
string
required

Currency code (ISO 4217). Case-insensitive; normalized to uppercase.

Example:

"EUR"

country
string

Country code (ISO 3166-1 alpha-2)

Example:

"GB"

description
string

Optional description for the deposit

Maximum string length: 500
Example:

"Account top-up"

email
string

Email of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.

Example:

"john.doe@example.com"

firstName
string

First name of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.

Example:

"John"

lastName
string

Last name of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.

Example:

"Doe"

method
enum<string>

Payment method to use for the deposit

Available options:
manual_deposit,
admin_deposit,
virtual_account,
crypto_deposit,
bank_deposit
Example:

"manual_deposit"

phoneNumber
string

Phone number of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.

Example:

"+2348012345678"

referenceId
string

Optional external reference ID

Example:

"INV-2024-001"

Response

Deposit created successfully. Details for completing the transfer will be provided in the response.

amount
string
required

Deposit amount

Example:

"100.50"

createdAt
string<date-time>
required

Creation timestamp

Example:

"2024-01-15T10:30:00Z"

currency
string
required

Currency code

Example:

"EUR"

id
string<uuid>
required

Unique identifier for the pay-in

Example:

"123e4567-e89b-12d3-a456-426614174000"

method
enum<string>
required

Payment method used

Available options:
manual_deposit,
admin_deposit,
virtual_account,
crypto_deposit,
bank_deposit
Example:

"manual_deposit"

status
enum<string>
required

Current status of the pay-in

Available options:
pending,
processing,
completed,
failed,
cancelled,
refunding,
refunded,
in_review
Example:

"pending"

updatedAt
string<date-time>
required

Last update timestamp

Example:

"2024-01-15T10:35:00Z"

bic
string

BIC for manual deposits (if method is manual_deposit). For NGN payins, this contains the bank name assigned by the payin provider.

Example:

"DEUTDEFF"

description
string

Description of the deposit

Example:

"Account top-up"

iban
string

IBAN for manual deposits (if method is manual_deposit). For NGN payins, this contains the virtual account number assigned by the payin provider.

Example:

"GB82WEST12345698765432"

metadata
object

Provider-specific metadata containing payment details. For NGN payins, contains virtual account information (accountNumber, bankName, accountName, providerReference). Structure varies by payment method and provider.

Example:
reference
string

Payment reference. For NGN payins, this is the virtual account reference.

Example:

"PAYIN-2024-001"