Retry payment
Asks the payment provider to collect an open invoice now, with the customer's saved payment method.
Authentication
AuthorizationBearer
A secret key (rl_sk_test_..., rl_sk_live_...) or a restricted key with limited scopes (rl_rk_test_..., rl_rk_live_...). A restricted key can carry agent: true and an expires_at, and is what a coding agent should hold. Keys end in a checksum so secret scanners can recognize them. People create, roll and revoke keys in the dashboard; GET /v1/api_keys lists them, masked.
Path parameters
invoice_id
The invoice ID (inv_...).
Response
The invoice, with payment_status updated.
id
object
customer
subscription
status
draft fills during the period. open is finalized and awaiting payment. paid is settled at the provider.
Allowed values:
currency
period_start
period_end
lines
total
Sum of the lines, in minor units, never below zero. If credits exceed charges, the rest carries to the next invoice.
amount_due
amount_paid
finalizes_at
collection_method
charge_automatically charges the saved payment method. send_invoice emails a payment link from the provider.
Allowed values:
payment_status
Allowed values:
livemode
created_at
number
Assigned at finalization.
finalized_at
due_at
paid_at
hosted_payment_url
The provider's payment page, once finalized.
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
424
Failed Dependency Error
429
Too Many Requests Error
500
Internal Server Error