Check a specific subscription plan.
View all subscription plans created by the customer.
{
"internalId": "38a16a07-6616-4a90-82b9-0d7c8e2a2b76",
"name": "Plan Básico Mensual",
"description": "Acceso básico a contenido exclusivo",
"amount": 100.0,
"country": "ARG",
"currency": "ARS",
"accountNumber": "032.032.00000023",
"autoRecurring": {
"repetitions": 1,
"type": "month"
},
"status": {
"code": "100",
"description": "ACTIVE",
"detail": "Subscription plan is active"
},
}
{
"status": {
"code": "400",
"description": "ERROR",
"detail": "Subscription not found"
}
}
Curl --location --request PATCH 'https://api.stage.localpayment.com/api/subscriptions/plan/38a16a07-6616-4a90-82b9-0d7c8e2a2b76' \
header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjYyMDU1NTIxLCJqdGkiOiIxY2NhNjI2NTViZjg0ZDdlOWY1NWMxNmRmMGQzNzQxYyIsInVzZXJfaWQiOjIwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjp0cnVlLCJyb2xlcyI6WyJJU19BRE1JTiJdLCJjb3VudHJpZXMiOlsiQUxMIl0sImNvbXBhbnkiOiIwMDA1IiwiY2xpZW50X2NvZGUiOiIwMDA1In0.HW58M472NIdpATByTFe41f1311eHZlk7YhrwlHmczJs' \
header 'Content-Type: application/json' \
--data-raw '{
}'
{
"internalId": "38a16a07-6616-4a90-82b9-0d7c8e2a2b76",
"name": "Plan Básico Mensual",
"description": "Acceso básico a contenido exclusivo",
"amount": 100.0,
"country": "ARG",
"currency": "ARS",
"accountNumber": "032.032.00000023",
"autoRecurring": {
"repetitions": 1,
"type": "month"
},
"status": {
"code": "100",
"description": "ACTIVE",
"detail": "Subscription plan is active"
},
}