Create or replace an organization's brand
Authorization
Cowdi_Sales_KYC_backendBearerAuth Cowdi backend-compatible RS256 JWT. sub may be the global user id or a Firebase auth id; Firebase auth-id subjects and missing organization claims are resolved through the backend user/access endpoints. Validated against the configured JWKS (lib/backend-auth.ts).
In: header
Path Parameters
Backend organization id / tenant slug.
length <= 255Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/branding/dawa" \ -H "Content-Type: application/json" \ -d '{ "primary_color": "string" }'{ "organization_id": "dawa", "logo_url": "http://example.com", "icon_url": "http://example.com", "font_family": "Inter", "font_weight": 400, "primary_color": "#16a34a", "secondary_color": "#16a34a", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}{ "code": "INVALID_PARAMS", "description": "user_id must be a UUID", "identifier": "string", "invalid_params": [ { "path": "user_id", "reason": "must be a UUID", "sub_code": "string" } ]}Get an organization's brand (public) GET
Public, unauthenticated — the white-label surface reads this before login.
Get the caller's current-account summary GET
Aggregate figures for the caller's current account — for now, the interest credited to it. The figures are derived from the transaction ledger, which keeps roughly 12 months of history, so credits older than that are not counted.