v1

latestOpenAPI 3.1.02026-07-26490301.4 KB
Consumer

Get consumer (user)

get/consumer/{id}

Path parameters

idstring required

Gateway consumer ID (user ID)

Headers

X-Request-IDstring

Unique ID of request

Response

OK

idstring required

Gateway consumer ID (user ID)

externalIdstring

Merchant consumer ID (user ID)

usernamestring

Username

emailstring email

Email address

firstNamestring

First name

lastNamestring

Last name

birthdaystring nullable

Date of birth

countrystring ISO3

Country name in ISO3 format

{"stackTrail":"paths:/consumer/{id}:get:responses:200:content:application/json:schema:properties:groupId","oasType":"schema","type":"unknown","title":"Consumer group ID","description":"| id | description\n|---|---|\n| 1 | whitelist |\n| 2 | blacklist |\n| 3 | junior |\n| 4 | senior |\n| 5 | expert |"}
blockedboolean

Consumer ID blocked

Example response

{
  "externalId": "14253ms92m0as",
  "email": "jonny.sonny@google.com",
  "birthday": "Yyyy-mm-dd",
  "country": "GBR"
}