Get started

Sections

Theme switcher

List a member's missing-cashback claims and their status.

Header Parameters

Authorizationstring

Query Parameters

UIDstring Required

Your member's ID.

Response

200
Object

The member's claims (response 200), or response 400 when UID is missing.

Response Attributes

responseinteger
claimsarray
401
Object

Missing, malformed or expired bearer token.

Response Attributes

messagestring

Human-readable failure reason. Safe to surface to integrators but not end-users. The wording can change, so match on error-code instead.

error-codestring

Stable, machine-readable code for the error (for example user_not_found, order_already_paid). Match on this, not on message. New codes can be added at any time; treat an unknown code like a generic error for its response status. Send the request header X-Spendstream-Errors: http to get the real HTTP status on errors that are otherwise answered with HTTP 200.

errorstring

Alternative error message field used by a subset of endpoints (notably getToken and authentication failures). Integrators should check for both message and error when parsing failure responses.

responseinteger

Numeric status code echoing the HTTP status (e.g. 400, 401). Populated on most error paths; a few auth-layer failures omit it.

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?