Create deposit
Create a new deposit. This endpoint supports various payment methods, including generating bank account details (IBAN and BIC) for manual bank transfers, or initiating other provider-specific payin flows based on the provided currency and user details. For NGN currency, additional user details (firstName, lastName, email, phoneNumber) are required to generate dynamic virtual accounts.
Authorizations
Enter Auth0 JWT token
Headers
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
Amount to deposit (as string to avoid floating-point precision issues). Must be greater than zero.
^[0-9]+(.[0-9]{1,8})?$"100.50"
Client reference for idempotency - must be unique per client
"609eddec-9b97-4f41-8db3-ef9342263418"
Currency code (ISO 4217). Case-insensitive; normalized to uppercase.
"EUR"
Country code (ISO 3166-1 alpha-2)
"GB"
Optional description for the deposit
500"Account top-up"
Email of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.
"john.doe@example.com"
First name of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.
"John"
Last name of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.
"Doe"
Payment method to use for the deposit
manual_deposit, admin_deposit, virtual_account, crypto_deposit, bank_deposit "manual_deposit"
Phone number of the user initiating the payin. Required for NGN currency to generate dynamic virtual accounts.
"+2348012345678"
Optional external reference ID
"INV-2024-001"
Response
Deposit created successfully. Details for completing the transfer will be provided in the response.
Deposit amount
"100.50"
Creation timestamp
"2024-01-15T10:30:00Z"
Currency code
"EUR"
Unique identifier for the pay-in
"123e4567-e89b-12d3-a456-426614174000"
Payment method used
manual_deposit, admin_deposit, virtual_account, crypto_deposit, bank_deposit "manual_deposit"
Current status of the pay-in
pending, processing, completed, failed, cancelled, refunding, refunded, in_review "pending"
Last update timestamp
"2024-01-15T10:35:00Z"
BIC for manual deposits (if method is manual_deposit). For NGN payins, this contains the bank name assigned by the payin provider.
"DEUTDEFF"
Description of the deposit
"Account top-up"
IBAN for manual deposits (if method is manual_deposit). For NGN payins, this contains the virtual account number assigned by the payin provider.
"GB82WEST12345698765432"
Provider-specific metadata containing payment details. For NGN payins, contains virtual account information (accountNumber, bankName, accountName, providerReference). Structure varies by payment method and provider.
Payment reference. For NGN payins, this is the virtual account reference.
"PAYIN-2024-001"