Headers
"your-x-api-key"
"your-x-api-token"
Body
Title of the plan.
"Plano Premium Mensal"
Detailed description of the plan.
"Acesso completo a todas as funcionalidades da plataforma."
Billing frequency.
"MONTHLY"
Period of the frequency (e.g., 1 for monthly, 3 for quarterly).
1
Immediate charge amount upon joining the plan.
49.9
Amount for recurring charges.
29.9
Minimum amount accepted for recurring charges.
29.9
Retry policy in case of failure.
ACCEPT_3R_7D
, NOT_ACCEPT
"ACCEPT_3R_7D"
Indicates if the plan is active.
true
Response
Plan created successfully.
0
"success"
Unique ID of the generated plan.
"6851c0842bf40769ead1fde5"
"Plano Premium Mensal"
"Acesso completo a todas as funcionalidades da plataforma."
"MONTHLY"
1
49.9
29.9
29.9
"ACCEPT_3R_7D"
true
Date and time of plan creation.
"2025-06-17 19:22:44"