v1
latestOpenAPI 3.1.02026-07-24441967.0 KBCreate a Subscription
This endpoint allows you to create a new subscription for a customer. Creating a subscription involves associating a customer with a specific subscription plan and recording their payment information.
post/api/payin/subscriptions
Headers
Authorizationstring required
Bearer access token for authentication. This token is obtained from the Get Access Token or Refresh Access Token endpoints.
Request body
Example request
{
"payer": {
"document": {
"type": "RUC",
"id": "1791234561009"
},
"address": {
"street": "Independencia",
"number": "123",
"city": "Cordoba",
"state": "Cordoba",
"country": "ARG",
"zipCode": "X5000IUO",
"comment": "Sucursal 123"
}
},
"merchant": {
"document": {
"type": "RUC",
"id": "1791234561009"
},
"address": {
"street": "Independencia",
"number": "123",
"city": "Cordoba",
"state": "Cordoba",
"country": "ARG",
"zipCode": "X5000IUO",
"comment": "Sucursal 123"
}
},
"card": {
"expirationMonth": "01",
"expirationYear": "2025"
}
}Response
OK