Add a credit grant to a customer.

Log in to see full request history
Path Params
string
required

The customer ID

Body Params
number
required

The number of credits to create in the grant.

number

An optional amount to charge the customer (in the customer's configured currency) before issuing a credit grant.

When the chargeAmount field is supplied, Kable will attempt to charge the customer immediately through Stripe before issuing the grant. Therefore, when specifying a chargeAmount, the customer must have a Stripe integration defined and have a default payment card on-file.

string

A human-readable description that explains why the credit grant is being created.

date-time

The expiration date of the credit grant.

Headers
string
required

Your Kable client ID, found in the dashboard of your Kable account.

string
required

Your LIVE or TEST secret key.

Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json