Create a settled deposit transaction for a test user. Useful for simulating payments in sandbox environments.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
MongoDB ObjectId of the user who will receive the deposit
"64f0c51e7fb3fc001234abcd"
Deposit amount in whole currency units (e.g., 100.50 for £100.50)
x >= 0.01100.5
MongoDB ObjectId of an existing bank account to use for the deposit. Cannot be provided together with bankAccount.
"64f1b2c3d4e5f67890123457"
Bank account details to create and associate with the deposit. Cannot be provided together with bankAccountId.
Deposit created successfully
"dep_64f0c51e7fb3fc001234abcd"
MongoDB ObjectId of the user who owns the deposit
"64f0c51e7fb3fc001234abcd"
Deposit amount in cents (minor currency units)
10050
ISO 4217 currency code
"EUR"
Transaction status (always "Settled" for test deposits)
"Settled"
"2024-01-15T10:30:00.000Z"
Automatically generated bank reference
"a1B2c3D4e5F6g7H8"