curl --request GET \
--url https://api.onepay.la/v1/customers/{customer_id} \
--header 'Authorization: Bearer <token>'{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"[email protected]",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
curl --request GET \
--url https://api.onepay.la/v1/customers/{customer_id} \
--header 'Authorization: Bearer <token>'{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"[email protected]",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
{
"id":"9da58912-101d-46f8-86c9-20a52119c0bf",
"first_name":"John",
"last_name":"Doe",
"email":"[email protected]",
"phone":"+573100001020",
"document_type":"CC",
"document_number":"1060500333",
"created_at":"2024-12-04T20:09:08.000000Z"
}
Was this page helpful?