Skip to main content

Loyalty Customer

Represents a customer enrolled in the loyalty program, including customer details and enrollment data.

clientIdstringrequired

Unique client identifier for the loyalty application.

Possible values: >= 3 characters and <= 64 characters

Example: 6372l9tCxvqemEwOcFO6VRzqrKexiQBZGS97M6l2
profileIdstringrequired

Unique identifier of the loyalty profile in the loyalty application.

Possible values: >= 3 characters and <= 64 characters

Example: 984176aa-ccf8-4036-a356-d2e5fd193eef
customerIdstringrequired

Unique internal identifier of the customer in the Paysafe embedded wallet.

Possible values: >= 3 characters and <= 20 characters

Example: 5435323362
nicknamestring

A non-unique nickname of the loyalty profile in the loyalty application.

Possible values: >= 3 characters

Example: john_doe
attributes object[]

Optional array of key-value pair attributes for the customer’s embedded wallet in the loyalty application.

  • Array [
  • keystring
    Example: testKey
    valuestring
    Example: testValue
  • ]
  • creationTimestring<date-time>required

    Represents RFC 3339, section 5.6 date-time.

    Example: 2021-07-15T17:54:12Z
    Loyalty Customer
    {
    "clientId": "6372l9tCxvqemEwOcFO6VRzqrKexiQBZGS97M6l2",
    "profileId": "984176aa-ccf8-4036-a356-d2e5fd193eef",
    "customerId": "5435323362",
    "nickname": "john_doe",
    "attributes": [
    {
    "key": "testKey",
    "value": "testValue"
    }
    ],
    "creationTime": "2021-07-15T17:54:12Z"
    }