Test mode and sandbox
Build and test against the real API for free. Test mode behaves exactly like live mode (the same rules, signatures, approvals, tokens and disputes) but nothing is billed and nothing moves money.
Test and live are separate
| Test | Live | |
|---|---|---|
| Keys | sk_test_… | sk_live_…, after you confirm your email |
| Data | Only test objects | Only live objects |
| Billing | Free | The first 1,000 live checks each month are free, then per check |
livemode on every object | false | true |
A test key cannot read live data, and the other way round. Switch the dashboard between them with the Test / Live toggle.
The Playground
Developers → Playground creates a mandate and runs checks as your organisation, without code. Try a purchase within the limits, above them and to another payee to see proceed, ask and stop.
The walkthrough
Playground → Load the walkthrough puts a grocery agent's week into test mode in one click, through the real API:
- a payment that proceeds, is redeemed and reconciles;
- one held for the user's approval;
- a look-alike payee that is stopped;
- a charge that fails and gives its approval back;
- an unchecked debit;
- a dispute decided against the merchant with a refund.
Every record is signed, so it is the quickest way to see every object in the dashboard and the API.
Approvals in test mode
On ask, the approval URL works in test mode too. Open it and approve or decline to exercise your approval.* webhooks end to end.
Payment tokens in test mode
Test checks issue test tokens (livemode: false). The redeem and release endpoints accept them, so a store or payment provider can rehearse the whole flow. A store should refuse test tokens on live orders; the merchant library and the WooCommerce plugin do by default.