Simulate an Account Deposit (Sandbox)
Sandbox only. Simulates an incoming USD deposit into one of an account’s deposit accounts, so you can exercise deposit crediting and webhooks without a real transfer.
With bank_account_reference the deposit is credited to that specific account; without it, to the client’s primary account. The balance is credited asynchronously via the provider’s normal deposit webhook — this call only submits the simulated inbound transfer.
This endpoint does not exist in production; calls there return 404.
reference — you can send a deposit to one of them and confirm it lands against that reference and no other.
Prerequisites
The account must already have an issued, active USD account. Issue one via Issue a Bank Account withcurrency: "USD". If none is provisioned, the call returns 404 with code USD_ACCOUNT_NOT_FOUND.
Request Body
bank_account_reference chooses which account receives the money; reference is a label on the transfer.Example Request
Credit the deposit account issued forstore-amazon-uk:
Example Response
bankAccountReference echoes which account was credited — null when the primary was.
What happens
- The request is routed to the USD provider’s sandbox, which submits a simulated incoming transfer against the deposit account you named. The response
statusissubmitted— the balance is not credited yet. - The provider then delivers a deposit webhook through the same crediting path a real deposit uses, and the wallet is credited.
- The transaction completes, emitting a
transaction.pendingevent followed bytransaction.completed. See Webhook Payloads.
submitted response, poll List Wallets or Transactions until the balance lands.Unknown references
Abank_account_reference with no account behind it returns 404 naming the reference, rather than quietly falling back to the primary account — so a typo in a test cannot credit the wrong balance and leave you reading the result as a pass:
reference.Authorizations
Your Rolla API key
Path Parameters
Identifier of an account owned by the same user as your API key's business
Body
Deposit amount in major units of USD, e.g. "100" or "100.50". Must be greater than 0.
"250.00"
Which of the account's deposit accounts to credit, as passed to Issue Bank Account. Omit to credit the client's primary account. A reference with no account behind it returns 404 rather than falling back to the primary.
100"store-amazon-uk"
Your own reference carried on the simulated transfer itself. Generated when omitted.
120Name recorded as the sender on the resulting transaction.
120"Amazon EU S.a.r.l."