Payments & FinanceBilling
Create a billing plan purchase
POST
/v1/billing/current/plan-purchasesCreate a billing plan purchase. A successful request returns HTTP 200 with the documented response body.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/billing/current/plan-purchases" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "plan": "none", "billingInterval": "month" }'{ "id": "7204558912004325301", "currentPlan": "none", "requestedPlan": "none", "currentPrice": 1, "requestedPrice": 1, "amountDue": 1, "creditAmount": 1, "currentBillingInterval": "example", "billingInterval": "example", "currencyCode": "PEN", "status": "pending", "requiresManualApproval": false, "paymentCheckoutRequired": false, "createdOn": "2026-08-01T15:30:00Z"}