POST
/
credit_grants
/
{id}
/
pay
curl --request POST \
  --url https://sandbox-api.billingrails.com/v1/credit_grants/{id}/pay \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "integration_id": "<string>",
  "allowed_payment_methods": [
    "<string>"
  ],
  "callback_url": "<string>"
}'
{
  "credit_grant_id": "<string>",
  "payment_link": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Pay credit grant payload

The body is of type object.

Response

200 - application/json

Payment link generated

The response is of type object.