cURL
curl --request POST \ --url https://sandbox-api.billingrails.com/v1/invoices/{id}/pay \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "integration_id": "<string>", "allowed_payment_methods": [ "<string>" ], "callback_url": "<string>" }'
{ "invoice_id": "<string>", "checkout_url": "<string>" }
Generates checkout URL for an invoice.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pay invoice payload
The body is of type object.
object
Checkout URL generated
The response is of type object.