Billing Agreements
Create billing agreement
Changed onCreates a new billing agreement based on the plan code passed, and cancels the customer's existing agreements
<div> <code>create:billing_agreements</code> </div>post/api/v1/billing/agreements
Request
- Base URL: https://your_kinde_subdomain.kinde.com
- URL: https://your_kinde_subdomain.kinde.com/api/v1/billing/agreements
- Auth: HTTP bearer
Request body
Example request
{
"customer_id": "customer_0195ac80a14c2ca2cec97d026d864de0",
"plan_code": "pro",
"is_invoice_now": true,
"is_prorate": true
}Response
Billing agreement successfully changed
Example response
{
"message": "Success",
"code": "OK"
}Changes
- info
endpoint added
- info