ThoughtAPI

Docs c3

Members (c3)

The member profile, /v1/me, balance, ledger and cashback claims in the ChingChing.Club API.

Base URL
https://c3.thought.bz/
Version
v1
Auth
Bearer session token in the Authorization header, except where an endpoint says None
Status
Beta

This page is part of the c3 (ChingChing.Club) API reference.

Member profile#

The member's own profile, handle, phone numbers, device permissions, photo, settings, identity check, notifications and profile shares.

POST /v1/members#

Finish signup for a new phone number.

Auth Signup token (tokenType pending_registration)

NameInTypeDescription
gender requiredbodystringfemale or male. It cannot be changed later.
confirmGender requiredbodystringThe same value again, to confirm it.
termsVersion requiredbodystringThe version of the terms the person accepted, up to 32 letters, digits, dots or hyphens.
adult requiredbodybooleanMust be true. The person is 18 or older.
acceptTerms requiredbodybooleanMust be true.

Request

bash
curl -X POST "https://c3.thought.bz/v1/members" \
  -H "Authorization: Bearer <signup-token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"gender": "female", "confirmGender": "female", "termsVersion": "2026-11-17", "adult": true, "acceptTerms": true}'

Response

json
{
  "memberId": "u12345abcde",
  "gender": "female",
  "genderLocked": true,
  "termsVersion": "2026-11-17",
  "adult": true,
  "level": 0,
  "levelIconId": "level.0",
  "status": "active",
  "handle": null
}
StatusMeaning
400A field is missing, the two genders differ, or a box is not ticked. Code invalid_body. There is no name field.
403The token is not a signup token, or it was already used. Code forbidden.
409This number is already registered. Code already_registered.

The response is the new profile. After this call, sign in again with the number to get a session token.

GET /v1/me#

Read the signed-in member's profile.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "memberId": "u12345abcde",
  "gender": "female",
  "genderLocked": true,
  "termsVersion": "2026-11-17",
  "adult": true,
  "level": 0,
  "levelIconId": "level.0",
  "status": "active",
  "handle": null
}
StatusMeaning
403Signup is not finished. Code forbidden.
404No such member. Code not_found.

level runs from 0 to 9 and levelIconId is the icon to show for it.

PATCH /v1/me#

Confirm the profile. Gender is the only accepted field and it cannot change.

Auth Member session token

NameInTypeDescription
genderbodystringOnly the value already stored is accepted.
confirmGenderbodystringMust equal gender when gender is sent.

Request

bash
curl -X PATCH "https://c3.thought.bz/v1/me" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"gender": "female", "confirmGender": "female"}'

Response

json
{
  "memberId": "u12345abcde",
  "gender": "female",
  "genderLocked": true,
  "termsVersion": "2026-11-17",
  "adult": true,
  "level": 0,
  "levelIconId": "level.0",
  "status": "active",
  "handle": null
}
StatusMeaning
400An unknown field was sent, for example name. Code invalid_body.
409A different gender was sent. Code gender_locked.

GET /v1/me/roles#

List the venues where the member works and whether they are on door duty today.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/roles" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "venues": [
    { "venueId": "vn12345abcde", "venueName": "Mira Room", "staffId": "vf12345abcde", "gateDuty": false }
  ]
}

A member with no venue role gets an empty list.

POST /v1/me/handle/check#

Check whether a handle can be used.

Auth Member session token

NameInTypeDescription
handle requiredbodystringThe handle to test, without the at sign.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/handle/check" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"handle": "aquaone"}'

Response

json
{ "handle": "aquaone", "result": "available" }

result is available, taken, reserved, blocked, invalid or unavailable. Nothing is reserved by this call.

PUT /v1/me/handle#

Set the member's public handle.

Auth Member session token

NameInTypeDescription
handle requiredbodystringThe handle to take.
acceptPublic requiredbodybooleanMust be true. The person agrees the handle is public.

Request

bash
curl -X PUT "https://c3.thought.bz/v1/me/handle" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"handle": "aquaone", "acceptPublic": true}'

Response

json
{
  "memberId": "u12345abcde",
  "gender": "female",
  "genderLocked": true,
  "termsVersion": "2026-11-17",
  "adult": true,
  "level": 0,
  "levelIconId": "level.0",
  "status": "active",
  "handle": "aquaone"
}
StatusMeaning
400acceptPublic is not true or the handle is not valid. Code invalid_body.
403A later change is not allowed yet. Code forbidden.
409The handle is taken, reserved or blocked. Code handle_unavailable.

The first handle can be set at level 0. A change after that waits for level 3 and 30 days.

GET /v1/me/phones#

List the phone numbers on the account.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/phones" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "phones": [
    { "e164": "+27831234567", "primary": true, "addedAt": "2026-12-02T14:15:15Z" }
  ]
}

POST /v1/me/phones#

Add a second phone number.

Auth Member session token

NameInTypeDescription
e164 requiredbodystringThe new number.
otpToken requiredbodystringThe token returned by verifying a code with purpose add_phone for the new number.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/phones" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"e164": "+27821234567", "otpToken": "<otp-token>"}'

Response

json
{ "e164": "+27821234567", "primary": false, "addedAt": "2026-12-02T14:15:15Z" }
StatusMeaning
403The token is not a valid add_phone proof for this number. Code forbidden.
409The number belongs to another member. Code phone_in_use.

Send the signed-in member session in the Authorization header and the one-time proof in the body. The proof is spent by this call.

DELETE /v1/me/phones/{e164}#

Remove a phone number.

Auth Member session token

NameInTypeDescription
e164 requiredpathstringThe number to remove, URL encoded.

Request

bash
curl -X DELETE "https://c3.thought.bz/v1/me/phones/<e164>" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>"

Response

json
{ "removed": "+27821234567" }
StatusMeaning
404No such number on this account. Code not_found.
409The last number cannot be removed. Code phone_required.

GET /v1/me/permissions#

List the device permissions the member has granted.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/permissions" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "permissions": [
    { "name": "camera", "granted": false },
    { "name": "photos", "granted": false },
    { "name": "location", "granted": true },
    { "name": "notifications", "granted": true },
    { "name": "contacts", "granted": false }
  ]
}

This is the choice the member made in the app, kept so it follows them to a new phone.

PUT /v1/me/permissions/{name}#

Record that a device permission was granted or withdrawn.

Auth Member session token

NameInTypeDescription
name requiredpathstringcamera, photos, location, notifications or contacts.
granted requiredbodybooleanThe new state.

Request

bash
curl -X PUT "https://c3.thought.bz/v1/me/permissions/<name>" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"granted": true}'

Response

json
{ "name": "camera", "granted": true }
StatusMeaning
404Not a known permission name. Code not_found.

POST /v1/me/photo#

Upload the member's profile photo.

Auth Member session token

NameInTypeDescription
jpeg requiredbodystringThe photo as a base64 encoded JPEG, up to 120000 characters.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/photo" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"jpeg": "<base64 jpeg>"}'

Response

json
{ "photoKey": "profile/u12345abcde.jpg" }
StatusMeaning
400The image is missing or too large. Code invalid_body.
503The photo could not be stored. Retry.

GET /v1/me/settings#

Read the member's notification and nearby settings.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/settings" \
  -H "Authorization: Bearer <token>"

Response

json
{ "push": true, "nearby": true }

PATCH /v1/me/settings#

Change the member's settings.

Auth Member session token

NameInTypeDescription
pushbodybooleanReceive push notifications.
nearbybodybooleanAppear in the nearby list for other members.

Request

bash
curl -X PATCH "https://c3.thought.bz/v1/me/settings" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"nearby": false}'

Response

json
{ "push": true, "nearby": false }

GET /v1/me/kyc#

Read the state of the member's identity check.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/kyc" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "status": "verified",
  "kind": "sa_id",
  "last4": "1234",
  "country": "ZA",
  "expiryDate": null,
  "verified": true,
  "verifiedAt": "2026-12-02T14:15:15Z",
  "level": 1,
  "levelIconId": "level.1",
  "banner": null
}

status is unverified, pending_verification, verified or failed. Only the last 4 characters of the document number are ever returned. banner carries a message to show, for example when a passport has expired.

POST /v1/me/kyc#

Submit an identity document for checking.

Auth Member session token

NameInTypeDescription
kind requiredbodystringsa_id or passport.
legalName requiredbodystringThe name on the document.
idNumber requiredbodystringThe document number.
countrybodystringTwo letter country code. Defaults to ZA.
expiryDatebodystringRequired for a passport. YYYY-MM-DD and in the future.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/kyc" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"kind": "sa_id", "legalName": "Example Person", "idNumber": "<id number>"}'

Response

json
{
  "status": "pending_verification",
  "kind": "sa_id",
  "last4": "1234",
  "country": "ZA",
  "expiryDate": null,
  "verified": false,
  "verifiedAt": null,
  "level": 0,
  "levelIconId": "level.0",
  "banner": null
}
StatusMeaning
400The document number is not valid or the passport expiry is not in the future. Codes invalid_id and expiry_not_future.
409The document was already used, or the check is locked. Codes id_already_used and id_locked.

The number is stored securely and is never returned in full. A member is checked in person by venue staff, see POST /v1/venues/{venueId}/kyc-verifications.

GET /v1/me/notifications#

List the member's notifications, newest first.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/notifications" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "notifications": [
    { "id": "nt12345abcde", "text": "Your order 012 is ready, go collect at the bar.", "createdAt": "2026-12-02T14:15:15Z", "readAt": null }
  ]
}

POST /v1/me/notifications/read#

Mark notifications as read.

Auth Member session token

NameInTypeDescription
ids requiredbodyarray of stringThe notification ids to mark.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/notifications/read" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"ids": ["nt12345abcde"]}'

Response

json
{ "read": ["nt12345abcde"] }
StatusMeaning
404An id is not one of this member's notifications. Code not_found.

POST /v1/me/shares#

Create a share card for the member's public profile.

Auth Member session token

NameInTypeDescription
kind requiredbodystringprofile.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/shares" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"kind": "profile"}'

Response

json
{ "id": "sh12345abcde", "kind": "profile", "createdAt": "2026-12-02T14:15:15Z", "path": "/@aquaone" }
StatusMeaning
409The member has no handle yet, or already holds 10 shares. Codes no_handle and share_limit.

GET /v1/me/shares#

List the member's share cards.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/shares" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "shares": [
    { "id": "sh12345abcde", "kind": "profile", "createdAt": "2026-12-02T14:15:15Z", "path": "/@aquaone" }
  ]
}

Balance and cashback#

The member's balance and ledger, their payment reference, and cashback claims. Amounts are cents. A member's ledger lines are the only record the app shows, and each line links to one journal entry.

GET /v1/me/balance#

Read the member's balance.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/balance" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "availableCents": 12500,
  "pendingInCents": 0,
  "pendingOutCents": 0
}

A member with no activity gets zeros.

GET /v1/me/ledger#

List the member's ledger lines, newest first.

Auth Member session token

NameInTypeDescription
limitqueryinteger1 to 100. The default is 25.
cursorquerystringThe cursor from the previous page.

Request

bash
curl "https://c3.thought.bz/v1/me/ledger" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "items": [
    { "jno": "j12345abcde", "processedAt": "2026-12-02T14:15:15Z", "type": "cashback", "amountCents": 2500, "ref": "cb12345abcde" }
  ],
  "cursor": "<next page>"
}
StatusMeaning
400The limit or cursor is not valid. Code invalid_body.

cursor is only present when there is another page.

GET /v1/me/ledger/{jno}#

Read one ledger entry with its lines.

Auth Member session token

NameInTypeDescription
jno requiredpathstringThe journal number from a ledger line.

Request

bash
curl "https://c3.thought.bz/v1/me/ledger/<jno>" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "jno": "j12345abcde",
  "processedAt": "2026-12-02T14:15:15Z",
  "type": "cashback",
  "amountCents": 2500,
  "ref": "cb12345abcde",
  "lines": [
    { "jno": "j12345abcde", "processedAt": "2026-12-02T14:15:15Z", "type": "cashback", "amountCents": 2500, "ref": "cb12345abcde" }
  ],
  "source": { "type": "journal", "id": "j12345abcde" }
}
StatusMeaning
404No such ledger entry. Code not_found.

GET /v1/me/payment-code#

Read the member's payment reference.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/payment-code" \
  -H "Authorization: Bearer <token>"

Response

json
{ "paymentCode": "c3-abcd-7" }

The reference looks like c3-xxxx-n. The member types it on a bank transfer and shows it to door staff. It is not a secret.

POST /v1/me/cashback-claims#

Claim cashback for a card machine receipt from a venue.

Auth Member session token

NameInTypeDescription
venueId requiredbodystringThe venue where the member paid.
tradingDate requiredbodystringThe trading date on the receipt, YYYY-MM-DD. A receipt can be claimed on its own trading day or the next one.
method requiredbodystringcard. Only card machine payments can earn cashback.
amountCents requiredbodyintegerThe total on the receipt, in cents.
breakdown requiredbodyarray of objectThe items on the receipt. Each has code and cents, and the cents must add up to amountCents.
slipRefbodystringThe reference printed on the receipt.
cardLast4bodystringThe last 4 digits of the card.
privateDigitsbodystringThe card digits the receipt does not print, when asked for.

Request

bash
curl -X POST "https://c3.thought.bz/v1/me/cashback-claims" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"venueId": "vn12345abcde", "tradingDate": "2026-12-02", "method": "card", "amountCents": 25000, "breakdown": [{"code": "7", "cents": 25000}], "slipRef": "0042", "cardLast4": "1234"}'

Response

json
{
  "claimId": "cb12345abcde",
  "status": "pending_match",
  "venueId": "vn12345abcde",
  "tradingDate": "2026-12-02",
  "amountCents": 25000,
  "cashbackCents": 2500
}
StatusMeaning
400The breakdown does not add up to the amount. Code amount_mismatch.
404No such venue. Code not_found.
409No handle yet, cash payment, outside the claim window, venue staff, receipt does not match, or the receipt was already claimed. Codes no_handle, cash_no_cashback, claim_window, staff_no_claim, receipt_mismatch and duplicate_claim.
429Claiming is paused after repeated invalid claims. Code claim_locked.

status is pending_match when the receipt matched a card payment at the venue, and needs_slip_ref when staff still have to enter the receipt reference. Staff later approve it (approved, and the cashback is credited and shown on the ledger), refuse it (failed) or reverse it (reversed).

GET /v1/me/cashback-claims#

List the member's cashback claims.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/cashback-claims" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "items": [
    { "claimId": "cb12345abcde", "amountCents": 25000, "cashbackCents": 2500, "venueId": "vn12345abcde", "tradingDate": "2026-12-02", "status": "approved", "submittedAt": "2026-12-02T14:15:15Z" }
  ]
}

GET /v1/me/tip-balance#

Read the tips a staff member has received.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/tip-balance" \
  -H "Authorization: Bearer <token>"

Response

json
{ "receivedCents": 4500, "pendingCents": 0 }

A tip is counted once its order is paid.

Updated 2026-12-02