Posteering
Reference

Fire a synthetic inbound credit at a sandbox virtual account.

Sandbox-only. Simulates a customer paying into the given virtual account so you can test your credit-confirmed callback handler end-to-end. The synthetic credit runs through the same matching, intent-completion, and callback-delivery pipeline a real credit uses — your callbackUrl receives a real, signed, retried credit-confirmed callback. Available to any sandbox-environment credential, on a virtual account that resolves to a test adapter. Never available to a live-environment credential.

POST
/api/v1/bankrail/sandbox/simulate-credit

Authorization

X-Bankrail-Key-Id<token>

Partner-visible credential identifier issued by bank-rail at credential provisioning time. Names which credential signed the request; the corresponding signing secret never appears in any request.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/bankrail/sandbox/simulate-credit" \  -H "Content-Type: application/json" \  -d '{    "virtualAccount": "9977696744",    "amountKobo": 1660000  }'
{  "outcome": "completed",  "reference": "sandbox-sim-46770a3a-8bbb-429a-8209-dfc3ad808987",  "dispatchId": "string",  "message": "Synthetic credit dispatched. Your callback handler will receive a credit-confirmed callback."}
Empty
Empty
Empty
Empty