cURL
curl --request POST \ --url https://api.example.com/customers/{customerId}/retry-charge \ --header 'Content-Type: application/json' \ --data ' { "invoiceId": "<string>", "paymentMethodId": "<string>" } '
200
Example
{}
The customer id
Optional: the whenAt datetime
the invoice id to retry a charge on
Payment method to use. If not provided, the default payment method will be used.
The response is of type object.
object
Was this page helpful?