Simulate an incoming deposit

Sandbox only. Makes money arrive in one of your wallets as though a
payer had sent it, so you can test balances, statements and
disbursements without a bank. Send paymentReference for a payer who
quotes the wallet's reference, or accountNumber for one who sends to
a DEDICATED wallet's own account number without it.

A reference or account number that belongs to one of your wallets
posts the credit to it (outcome: MATCHED_BY_REFERENCE or
MATCHED_BY_ACCOUNT_NUMBER) and returns the transactionId that now
appears on the wallet's statement. Anything else well formed posts
nothing (outcome: UNMATCHED).

StatuscodeWhen
400missing_fieldNeither paymentReference nor accountNumber is given.
400invalid_fieldpaymentReference is not a ten-character reference, accountNumber is not 4 to 17 digits, both are given, or a field is too long.
400invalid_amountamount is not a positive money value with its currency.
400invalid_bodyThe body is not a JSON object.
400idempotency_key_requiredThere is no Idempotency-Key header. Nothing is created.
400invalid_idempotency_keyThe Idempotency-Key is longer than 255 characters, is not printable ASCII, or was sent twice.
404not_foundCalled outside the sandbox.
409idempotency_key_in_useA request with this Idempotency-Key is still running. Send it again after Retry-After seconds.
422sandbox_deposit_failedThe credit could not be posted; try again, and quote the requestId if it keeps failing.
422idempotency_key_reusedThis Idempotency-Key was already used for a different request. Use a new key.
503upstream_busyPayKeeper's banking provider asked it to slow down. Send it again after Retry-After seconds, with the same Idempotency-Key.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Send exactly one of paymentReference and accountNumber.

string
^[BCDFGHJKLMNPRSTVWXZ0-9]{10}$

The wallet's payment reference, from its funding instructions. Send this or accountNumber.

string
^[0-9]{4,17}$

A DEDICATED wallet's own account number (virtualAccount.accountNumber), for a payer who sends to it without quoting the reference. Send this or paymentReference.

amount
object
required

Greater than zero.

string
length ≤ 200

Who the money is from, for the statement line.

string
length ≤ 500

The statement line. Defaults to "Sandbox deposit from {payerName}".

string
enum
Defaults to WIRE

How the credit arrives.

Allowed:
string
length ≤ 500

The memo or addenda text, as a bank would pass it on. Appears on the statement line.

Headers
string
required
length between 1 and 255

A key you generate for this request (a UUID is best) and send again only to retry it, with the same body. Up to 255 printable ASCII characters. See Retries in the introduction.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json