Paytrie Developer Documentation
API ReferenceLogin

Post Login Code Verify

Verify a numeric login code sent via email and authenticate user with JWT token

POST
/loginCodeVerify

Query Parameters

email*string
login_code*string

Response Body

application/json

application/json

curl -X POST "https://api.paytrie.com/loginCodeVerify?email=user%40example.com&login_code=1234"
{
  "message": "Email code validated",
  "status": "success",
  "token": "<jwt-token-string>"
}
{
  "message": "Email code validated",
  "status": "success",
  "token": "<jwt-token-string>"
}