Create a charge
Creates a one-time charge billed immediately against the customer’s default payment method, without requiring a checkout session.
The customer must already have a usable payment method on file (a saved payment method or an active subscription). If no default payment method exists, or the off-session charge is declined or requires authentication, the request fails with a 400.
Note:
chargePeriodmust beONE_TIME. Recurring charge periods are not supported by this endpoint — use Create a subscription instead.
Authorizations
The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
Body
The identifier of the plan being purchased as a one-time payment.
"lifetime-access"
Must be ONE_TIME. Any other value is rejected.
ONE_TIME "ONE_TIME"
The ID of the customer being charged. The customer must already have a default payment method on file.
"cust_789"
A list of features and their desired quantities.
Optional ISO 4217 currency code to charge in. Must match the customer's currency if they already have one set.
"USD"
The IP Address of the customer, used for location-based pricing.
"103.154.35.20"
Response
Charge created
The unique identifier of the created charge record.
"7c2f3a91-2d4e-4a8b-9b1c-6f0a2e5d9c11"
The date the one-time payment was created.
"2026-06-20"
Always null for one-time payments.
null
Not applicable for one-time payments.
null
Not applicable for one-time payments.
null
The amount charged.
"49.00"
Empty for one-time payments.
""
The currency of the payment.
"USD"
The status of the resulting record.
"active"
List of features included in the purchase.
Always 0 for one-time payments.
0
The customer identifier associated with this payment.
"geojacob"
The billing type of the record.
"ONE_TIME"