Pay an invoice

POST {{baseUrl}}/v1/invoices/:invoice/pay

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.

Request Body

[{"name"=>"expand[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"forgive", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"mandate", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"off_session", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"paid_out_of_band", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"payment_method", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"source", "value"=>"<string>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring