API to retrieve a customer uid from the phone number

📘

The phone number must be of a user who is registered to the Satispay service.

📘

Once you retrieve a customer uid you can store it for following uses. If you do not store it you can call this endpoint again and, for the same phone number, it will always return the same customer uid.

Responses

200 OK

  • id [string]: Unique ID of the consumer

403 Forbidden or invalid authorization header

  • code [integer]: Error code
  • message [string]: Error message

404 Resource not found

  • code [integer]: Error code
    41 → consumer not found with the given phone number
  • message [string]: Error message
Language