Metodos de pago
- Clientes
- Cuentas
- Tarjetas
Recaudo
- Cobros [Solicitud]
- Cargos [Debito]
- Planes
- Suscripciones
- Links de captura
- Llamadas de cobro
Dispersiones
- Dispersiones
- Balance
Webhooks
- Webhooks
- Asobancaria
- Flows
Fintech as a service
- Billeteras
- Issuing
- Utilities
Suscripciones
Listado de suscripciones
Suscripciones
Listado de suscripciones
Obtiene el listado de suscripciones de tu cuenta.
GET
/
subscriptions
curl --request GET \
--url https://api.onepay.la/v1/subscriptions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "9ddfcfc1-7b5e-490c-9731-4aabd986908e",
"name": "SpectreSaaS",
"status": "active",
"description": "<p>1 Free</p><p>2 COP 449.000</p>",
"internal_id": "SaaSSpectre",
"plan_id": null,
"coupon_id": null,
"reference_price_in_cents": "44900000",
"currency": "COP",
"amount_in_cents": 44900000,
"cicle_frequency": "monthly",
"cicles": null,
"current_cicle": 2,
"allows": {
"cards": true,
"accounts": true,
"card_extra": false,
"realtime": false,
"pse": true,
"transfiya": true
},
"start_date": "2025-01-05T00:00:00.000000Z",
"end_date": null,
"trial": {
"has_trial": false,
"start_trial_date": null,
"trial_days": 0
},
"complex_payments": [
{
"amount_in_cents": 134700000,
"apply_on_cicle": 1,
"for_cicles": 1,
"label": "Noviembre - Diciembre - Enero",
"target_price": "44900000"
}
],
"features": [],
"metadata": null,
"created_at": "2025-01-02T19:24:48.000000Z",
"updated_at": "2025-02-05T16:01:24.000000Z",
"customer": {
"id": "9dd4158b-0e45-42bc-b56f-a4c1f856814d",
"first_name": "Empresa",
"last_name": "SAS",
"email": "empresa@empresa.com",
"phone": "+573221234567",
"document": "1234567890",
"document_type": "RUT"
}
},
],
"current_page": 1,
"first_page_url": "https://api.onepay.la/v1/subscriptions?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.la/v1/subscriptions",
"per_page": 20,
"prev_page_url": null,
"to": 20
}
{
"data": [
{
"id": "9ddfcfc1-7b5e-490c-9731-4aabd986908e",
"name": "SpectreSaaS",
"status": "active",
"description": "<p>1 Free</p><p>2 COP 449.000</p>",
"internal_id": "SaaSSpectre",
"plan_id": null,
"coupon_id": null,
"reference_price_in_cents": "44900000",
"currency": "COP",
"amount_in_cents": 44900000,
"cicle_frequency": "monthly",
"cicles": null,
"current_cicle": 2,
"allows": {
"cards": true,
"accounts": true,
"card_extra": false,
"realtime": false,
"pse": true,
"transfiya": true
},
"start_date": "2025-01-05T00:00:00.000000Z",
"end_date": null,
"trial": {
"has_trial": false,
"start_trial_date": null,
"trial_days": 0
},
"complex_payments": [
{
"amount_in_cents": 134700000,
"apply_on_cicle": 1,
"for_cicles": 1,
"label": "Noviembre - Diciembre - Enero",
"target_price": "44900000"
}
],
"features": [],
"metadata": null,
"created_at": "2025-01-02T19:24:48.000000Z",
"updated_at": "2025-02-05T16:01:24.000000Z",
"customer": {
"id": "9dd4158b-0e45-42bc-b56f-a4c1f856814d",
"first_name": "Empresa",
"last_name": "SAS",
"email": "empresa@empresa.com",
"phone": "+573221234567",
"document": "1234567890",
"document_type": "RUT"
}
},
],
"current_page": 1,
"first_page_url": "https://api.onepay.la/v1/subscriptions?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.la/v1/subscriptions",
"per_page": 20,
"prev_page_url": null,
"to": 20
}
Was this page helpful?
curl --request GET \
--url https://api.onepay.la/v1/subscriptions \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "9ddfcfc1-7b5e-490c-9731-4aabd986908e",
"name": "SpectreSaaS",
"status": "active",
"description": "<p>1 Free</p><p>2 COP 449.000</p>",
"internal_id": "SaaSSpectre",
"plan_id": null,
"coupon_id": null,
"reference_price_in_cents": "44900000",
"currency": "COP",
"amount_in_cents": 44900000,
"cicle_frequency": "monthly",
"cicles": null,
"current_cicle": 2,
"allows": {
"cards": true,
"accounts": true,
"card_extra": false,
"realtime": false,
"pse": true,
"transfiya": true
},
"start_date": "2025-01-05T00:00:00.000000Z",
"end_date": null,
"trial": {
"has_trial": false,
"start_trial_date": null,
"trial_days": 0
},
"complex_payments": [
{
"amount_in_cents": 134700000,
"apply_on_cicle": 1,
"for_cicles": 1,
"label": "Noviembre - Diciembre - Enero",
"target_price": "44900000"
}
],
"features": [],
"metadata": null,
"created_at": "2025-01-02T19:24:48.000000Z",
"updated_at": "2025-02-05T16:01:24.000000Z",
"customer": {
"id": "9dd4158b-0e45-42bc-b56f-a4c1f856814d",
"first_name": "Empresa",
"last_name": "SAS",
"email": "empresa@empresa.com",
"phone": "+573221234567",
"document": "1234567890",
"document_type": "RUT"
}
},
],
"current_page": 1,
"first_page_url": "https://api.onepay.la/v1/subscriptions?page=1",
"from": 1,
"next_page_url": null,
"path": "https://api.onepay.la/v1/subscriptions",
"per_page": 20,
"prev_page_url": null,
"to": 20
}