Subscriptions
Create Subscription [Deprecated]
DEPRECATED: This endpoint will be removed in version 2.3.0. You can create the subscription to include the plans that your customers consume
post/customers/{id}/subscription
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
Example request
{
"plan_id": "f84gdgf5g48r15fd21g8w424fd1",
"card_id": "src_2qUCNd5AyQqfPMBuV",
"trial_end": 1484040996
}Response
successful