Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Headers

Idempotency-Key
string
required

Required. A unique value per purchase, 8 to 255 visible characters. Reuse it only to retry the same request; the retry returns the first answer with idempotentReplay: true and charges nothing. A declined card is an answer too: the retry replays the decline, so once the card is fixed, try again with a new key.

Required string length: 8 - 255

Path Parameters

locationId
string
required

The sub-account's GoHighLevel Location ID.

Minimum string length: 1

Body

application/json

Rebilling on, plus the charge.

clientRatePerMinute
number
required

What you charge the client per minute.

stripeCustomerId
string
required

A customer on your connected Stripe account.

Pattern: ^cus_[A-Za-z0-9]{6,}$
charge
object
required

The charge to the client's card.

enabled
boolean

Optional here: this operation always turns rebilling on.

confirmHighRate
boolean

Confirms a rate above $10 a minute is intended.

autoRecharge
object

Optional. Set the sub-account's auto-recharge in the same step.

{key}
any

Response

Rebilling is on and the card was charged.

success
boolean
required
Example:

true

data
object
required
idempotentReplay
boolean

Present, and true, when this answer is a replay of an earlier request with the same Idempotency-Key.