Plans
Create Plan
Create a new plan for an existing order
post/plans
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"amount": 10000,
"currency": "MXN",
"expiry_count": 12,
"frequency": 1,
"id": "plan_24234",
"name": "Extra Plan3",
"max_retries": 3,
"retry_delay_hours": 50
}Response
successful
Example response
{
"amount": 10000,
"created_at": 1666900846,
"currency": "MXN",
"expiry_count": 12,
"frequency": 1,
"id": "gold-plan",
"interval": "month",
"livemode": true,
"name": "Extra Plan3",
"object": "plan",
"max_retries": 3,
"retry_delay_hours": 48
}Changes
No recorded changes to this operation across all 2 revisions of this API.