post
https://app-dev.paykeeper.com/api/public/escrow/sandbox/deposits
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).
| Status | code | When |
|---|---|---|
| 400 | missing_field | Neither paymentReference nor accountNumber is given. |
| 400 | invalid_field | paymentReference is not a ten-character reference, accountNumber is not 4 to 17 digits, both are given, or a field is too long. |
| 400 | invalid_amount | amount is not a positive money value with its currency. |
| 400 | invalid_body | The body is not a JSON object. |
| 400 | idempotency_key_required | There is no Idempotency-Key header. Nothing is created. |
| 400 | invalid_idempotency_key | The Idempotency-Key is longer than 255 characters, is not printable ASCII, or was sent twice. |
| 404 | not_found | Called outside the sandbox. |
| 409 | idempotency_key_in_use | A request with this Idempotency-Key is still running. Send it again after Retry-After seconds. |
| 422 | sandbox_deposit_failed | The credit could not be posted; try again, and quote the requestId if it keeps failing. |
| 422 | idempotency_key_reused | This Idempotency-Key was already used for a different request. Use a new key. |
| 503 | upstream_busy | PayKeeper'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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
