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 via Payonus.
Documentation Index
Fetch the complete documentation index at: https://docs.zuba.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter Auth0 JWT token
Body
Amount to deposit (as string to avoid floating-point precision issues)
^[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)
"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
open_banking, manual_deposit, admin_deposit, virtual_account "open_banking"
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
open_banking, manual_deposit, admin_deposit, virtual_account "open_banking"
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 Payonus.
"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 Payonus.
"GB82WEST12345698765432"
Provider-specific metadata containing payment details. For NGN payins via Payonus, contains virtual account information (accountNumber, bankName, accountName, providerReference). Structure varies by payment method and provider.
{
"accountName": "Zuba Business Name",
"accountNumber": "3234567890",
"bankName": "Wema Bank",
"expiresAt": "2024-01-16T10:30:00Z",
"providerReference": "ONUS-REF-1706510200000"
}Redirect URL for open banking flow (if method is open_banking)
"https://bank.example.com/auth?token=abc123"
Payment reference. For NGN payins, this is the Payonus virtual account reference (onusReference).
"PAYIN-2024-001"