Deposits
Create deposit expectation
Register an expected incoming bank transfer for a user bank account.
POST
Create deposit expectation
Use this endpoint to register a deposit expectation when the user sends a bank transfer. When
the transfer arrives, Wealthyhood matches it against pending expectations by reference and amount,
then automatically reconciles it as a completed deposit.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The external user identifier of the acting customer.
Example:
"bank-user-12345"
Body
application/json
MongoDB ObjectId of the bank account to credit
Pattern:
^[a-f0-9]{24}$Example:
"64f0c51e7fb3fc001234abcd"
Payment reference the user will include in their bank transfer. Leading and trailing whitespace are trimmed; the value is stored and matched in lowercase (ASCII) so it aligns with the bank statement reference field.
Minimum string length:
1Example:
"wallet-topup-5f91ce"
Response
Deposit expectation created successfully
Create deposit expectation