cURL
curl --request POST \ --url https://sandbox-api.billingrails.com/v1/orders/{id}/pay \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "integration_id": "<string>", "allowed_payment_methods": [ "<string>" ], "callback_url": "<string>" }'
{ "order_id": "<string>", "payment_link": "<string>" }
Generates a payment link for an order.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pay order payload
The body is of type object.
object
Payment link generated
The response is of type object.