Error
A valid request URL is required to generate request examples{
"object": "list",
"data": [
{
"id": "<string>",
"object": "invoice_payment_attempt",
"invoice": "<string>",
"status": "pending",
"livemode": true,
"attempted_at": 123,
"created_at": 123,
"failure_code": "<string>",
"failure_message": "<string>",
"payment_method": "<string>",
"payment_intent": "<string>"
}
]
}{
"error": {
"code": "INVALID_DATA",
"message": "invalid currency"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "INVOICE_NOT_FOUND",
"message": "invoice not found"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Invoices
List an invoice's payment attempts
Returns the collection attempts recorded for an invoice, newest first. The list is not paginated; the retry policy bounds attempts to a handful per invoice.
GET
/
invoices
/
{id}
/
payment_attempts
Error
A valid request URL is required to generate request examples{
"object": "list",
"data": [
{
"id": "<string>",
"object": "invoice_payment_attempt",
"invoice": "<string>",
"status": "pending",
"livemode": true,
"attempted_at": 123,
"created_at": 123,
"failure_code": "<string>",
"failure_message": "<string>",
"payment_method": "<string>",
"payment_intent": "<string>"
}
]
}{
"error": {
"code": "INVALID_DATA",
"message": "invalid currency"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "INVOICE_NOT_FOUND",
"message": "invoice not found"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
A merchant secret key (sk_…) sent as Authorization: Bearer <key>.
Headers
Merchant ID when an authorized Platform acts for a connected Merchant. Omit when authenticating directly as that Merchant.
Pattern:
^mer_[0-9A-Za-z]{14}$Path Parameters
The invoice id (inv_…).

