charge_not_found
No charge with that id on your account.
| HTTP status | type | Retry the same request? |
|---|---|---|
| 404 | invalid_request_error | no |
Why it happens
The id is wrong, or belongs to another account or another object type.
What to do
Charge ids start with chg_. Use GET /v1/charges?reference=… to find one by your own reference.
Example response
{
"error": {
"type": "invalid_request_error",
"code": "charge_not_found",
"message": "A human-readable explanation. Do not parse it.",
"doc_url": "https://docs.skanpay.website/errors/charge_not_found",
"request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
}
}