curl --request GET \
--url https://api.onepay.la/v1/cards/{card_id} \
--header 'Authorization: Bearer <token>'{
"id": "9e01eeae-2868-4564-9d04-84d1d1d027d2",
"brand": "Mastercard",
"last_four": "8099",
"card_name": "Juan Pérez",
"expiration_date": "2026-09-30T00:00:00.000000Z",
"customer_id": "9df8018b-6a28-4696-b7b2-63615f34a2f5",
"created_at": "2025-01-19T18:29:25.000000Z",
"type": "credit_card",
"country": "CO",
"cvc_check": true,
"verified": true,
"title": "Mastercard • 8099",
"method_type": "credit_card",
"authorization": true,
"action": {
"action": "NULL",
"next": null
}
}
Endpoint para obtener los detalles de una tarjeta de crédito o débito en el sistema de OnePay.
curl --request GET \
--url https://api.onepay.la/v1/cards/{card_id} \
--header 'Authorization: Bearer <token>'{
"id": "9e01eeae-2868-4564-9d04-84d1d1d027d2",
"brand": "Mastercard",
"last_four": "8099",
"card_name": "Juan Pérez",
"expiration_date": "2026-09-30T00:00:00.000000Z",
"customer_id": "9df8018b-6a28-4696-b7b2-63615f34a2f5",
"created_at": "2025-01-19T18:29:25.000000Z",
"type": "credit_card",
"country": "CO",
"cvc_check": true,
"verified": true,
"title": "Mastercard • 8099",
"method_type": "credit_card",
"authorization": true,
"action": {
"action": "NULL",
"next": null
}
}
{
"id": "9e01eeae-2868-4564-9d04-84d1d1d027d2",
"brand": "Mastercard",
"last_four": "8099",
"card_name": "Juan Pérez",
"expiration_date": "2026-09-30T00:00:00.000000Z",
"customer_id": "9df8018b-6a28-4696-b7b2-63615f34a2f5",
"created_at": "2025-01-19T18:29:25.000000Z",
"type": "credit_card",
"country": "CO",
"cvc_check": true,
"verified": true,
"title": "Mastercard • 8099",
"method_type": "credit_card",
"authorization": true,
"action": {
"action": "NULL",
"next": null
}
}
Was this page helpful?