Desarrolladores
Cómo usar la API
cURL
curl --request GET \ --url https://api.onepay.la/v1/customers/{customer_id}/cards
{ { "data":[ { "id": "9a7a7105-631d-4ad0-8e06-5c7bc2dfe32e", "brand": "mastercard", "label": "**** **** **** 8212", "last_four": "8212", "expiration_date": "2030-09-30", "customer_id": "9a708f99-fc8b-4a09-ad20-bea12f4af1b3", "created_at": "2024-12-12 10:30:01", "country": "CO" } ], "current_page":1, "first_page_url":"https:\/\/api.onepay.la\/v1\/customers\/9a7a6ccf-f75c-45f9-ad11-aae3c80971f0\/cards?page=1", "from":null, "next_page_url":null, "path":"https:\/\/api.onepay.la\/v1\/customers\/9a7a6ccf-f75c-45f9-ad11-aae3c80971f0\/cards", "per_page":20, "prev_page_url":null, "to":null } }
null
Hide data
Was this page helpful?