Skip to content
myela

Every attempt made to collect it, in order — the answer to "why has this not been paid".

List collection attempts

GET/v1/invoices/{invoice_id}/attemptsLink

Every attempt made to collect it, in order — the answer to "why has this not been paid".

SandboxSecret keyinvoices.attempts

Request fields

Edit a field and the generated request updates immediately.

Path parameters
stringrequired

The invoice id in the request path.

Response contract

The successful wire shape and errors an integration should branch on.

200

List of invoice charge attempt objects

application/json
idstringrequired
Unique attempt identifier.
object"invoice_charge_attempt"required
Stable resource discriminator.
invoiceIdstringrequired
Invoice being collected.
attemptintegerrequired
One-based attempt number.
outcomestringrequired
Result of the attempt.
failureCodestring
Stable failure code.
createdAtstringrequired
ISO 8601 creation timestamp.
Example response
{
  "object": "list",
  "data": [
    {
      "id": "ica_01JEXAMPLE",
      "object": "invoice_charge_attempt",
      "invoiceId": "inv_01JEXAMPLE",
      "attempt": 1,
      "outcome": "failed",
      "failureCode": "card_declined",
      "createdAt": "2026-08-10T20:49:51.653Z"
    }
  ],
  "hasMore": false
}
Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have invoices.attempts.

404not_found

The resource does not exist for this merchant.

422invalid_request

One or more request fields are invalid.