already_paid
The invoice is already marked as paid.
Type: invalid_request_error
HTTP status: 400 Bad Request
Cause
A payment or mark-as-paid action was attempted on an invoice that already has a paid status.
Response
{
"error": {
"type": "invalid_request_error",
"code": "already_paid",
"message": "Invoice is already paid.",
"doc_url": "https://docs.tryaccess.xyz/docs/errors/already_paid"
}
}Resolution
Fetch the invoice to confirm its current status before attempting payment. No further action is needed if the invoice is already settled.
How is this guide?