Skip to content

Read a member's point balance, by customer_uuid

GET
/members/{uuid}/balance
uuid
required
string format: uuid
program

The programme to act in: its handle (for example vv) or its lower-case id. Optional on a workspace with one programme; on a workspace with several, a call that names none is refused with 400 program_required. A programme that is not this workspace’s is 404 not_found.

string

The programme to act in: its handle (for example vv) or its lower-case id. Optional on a workspace with one programme; on a workspace with several, a call that names none is refused with 400 program_required. A programme that is not this workspace’s is 404 not_found.

The balance.

object
customer_uuid
required
string format: uuid
points_label
required
string
Example
points
spendable_balance
required
integer
pending_spendable
required
integer
qualifying_balance
required
integer
active_holds
required
integer
clawbacks_outstanding
required
integer
available
required
integer

Uuid is not a valid UUID, or the program is malformed (not a lower-case programme id or a programme handle), or a workspace with several programmes was given none (program_required).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

Missing or invalid API key or OAuth credential.

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

The credential lacks the loyalty:read scope — a publishable key (publishable_key_forbidden).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210

No such customer in this tenant, or the program names no programme of this workspace (not_found).

object
error
required
object
code
required
string
Example
not_found
message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210