Get consumer

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
Path Params
string
required

The phone number formatted with its prefix (eg. +390000000000)

Headers
string
required

The host declared in the signature

string
required

The date declared in the signature

string
required

The digest declared in the signature

string
required

Signature of the request

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json
text/plain