curl https://api.onepay.la/v1/customers/login/request \
-X POST \
-H "Authorization: Bearer sk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"phone": "+573001234567"
}'
{
"message": "OTP enviado exitosamente."
}
Envía un código OTP de 6 dígitos al cliente vía WhatsApp para iniciar sesión.
curl https://api.onepay.la/v1/customers/login/request \
-X POST \
-H "Authorization: Bearer sk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"phone": "+573001234567"
}'
{
"message": "OTP enviado exitosamente."
}
sk_test_xxx), el OTP se retorna directamente en la respuesta y no se envía por WhatsApp.+573001234567).curl https://api.onepay.la/v1/customers/login/request \
-X POST \
-H "Authorization: Bearer sk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"phone": "+573001234567"
}'
{
"message": "OTP enviado exitosamente."
}
Was this page helpful?