Skip to content
Banklink API

Reset sandbox data

POST
/sandbox/reset
curl --request POST \
--url https://api.banklink.co.za/v1/sandbox/reset \
--header 'Authorization: Bearer <token>'

Test mode only. Wipes your organisation’s sandbox accounts and transactions; the next call re-seeds a fresh dataset. Returns 404 when called with a live (sk_live_) key.

Sandbox reset

Media typeapplication/json
object
data
required
object
reset
required
boolean

Example

{
"data": {
"reset": true
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string

Example

{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key"
}
}