v1

latestOpenAPI 3.1.0MIT-LICENSE2026-07-24113190543.3 KB
Plans

Update Plan

put/plans/{id}

Path parameters

idstring required
Example:6307a60c41de27127515a575

Identifier of the resource

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

amountinteger

The amount in cents that will be charged on the interval specified.

currencystring

ISO 4217 for currencies, for the Mexican peso it is MXN/USD

expiry_countinteger

Number of repetitions of the frequency NUMBER OF CHARGES TO BE MADE, considering the interval and frequency, this evolves over time, but is subject to the expiration count.

namestring

The name of the plan.

Example request

{
  "amount": 10000,
  "currency": "MXN",
  "expiry_count": 12,
  "name": "Extra Plan3"
}

Response

successful