Waffle API
  1. Game Account
Waffle API
  • Overview
  • Authentication
    • Get access token
      POST
    • Refresh token
      POST
    • Revoke token
      POST
  • Game
    • List games
      GET
    • Get loyalty program by ID
      GET
    • Create new game
      POST
    • Update game by ID
      PUT
    • Delete game by ID
      DELETE
  • Ticket
  • Game Account
    • List game accounts
      GET
    • Get game account by ID
      GET
    • Search game accounts
      POST
  • Report
  • Game Service
    • Gen Token
      POST
    • Login
      POST
    • List games
      GET
    • Verify Session
      GET
  1. Game Account

Get game account by ID

Developing
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
GET
https://dev.your-api-server.com
/v1/loyalty/accounts/{account-id}
Last modified:2024-04-09 14:30:11
OperationId:get-loyalty-account-by-id

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
account-id
string 
required
Header Params
Content-Type
string 
required
Default:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev.your-api-server.com/v1/loyalty/accounts/'

Responses

🟢200Success
application/json
Body
id
string <uuid>
read-onlyrequired
The assigned ID of the loyalty account.
<= 36 characters
gameId
string <uuid>
required
The assigned ID of the loyalty program to which the account belongs.
customerId
string 
optional
The assigned ID of the customer that is associated with the account in another system.
<= 36 characters
phoneNumber
string 
optional
The phone number of the user, in E.164 format. For example, "+14155551111".
enrolledAt
string <date-time>
required
The timestamp when the user joined the game.
updatedAt
string <date-time>
read-onlyrequired
The timestamp when the loyalty account was last updated.
Example
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "gameId": "3f0eee32-8eac-4668-9b38-e3e5dc21d607",
  "customerId": "string",
  "phoneNumber": "string",
  "enrolledAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
Modified at 2024-04-09 14:30:11
Previous
List game accounts
Next
Search game accounts
Built with