Account#
Your account#
GET /api/vendor/panel/me gives your account, the number of your requests by status and the state of your webhook.
GET /api/vendor/session gives your account in a shorter form.
Name, logo and colours#
The customer pages show your display name, your logo and your colours. These settings change only the look of the pages. They never change a check or a decision.
PATCH /api/vendor/profile
Authorization: Bearer rk_live_…
Content-Type: application/json
{"label": "Example shop", "brand_primary": "#1f3a93", "brand_accent": "#f91e5a", "brand_background": "#fff8ec"}
| Field | Rules |
|---|---|
label |
Your display name, 1 to 120 characters. The customer sees it at the top of each page. |
logo_url |
A logo that the Rokh operations team added for you, as a path that starts with /static/branding/. Send null to remove it. Ask the operations team to add a new logo. |
logo_scale |
The size of the logo, 1.0 to 2.0 |
brand_primary |
The main colour, as #rrggbb. Send null to use the Rokh colours. |
brand_accent |
A second colour, as #rrggbb, or null |
brand_background |
The page colour, as #rrggbb, or null |
brand_preset |
A saved design, or null |
declaration_explainer |
One or two of alternate, sand, pearl, indigo, onyx, as a list. Send alternate only as the single value. The illustration on the instructions page of the declaration step. Send null to use the Rokh default, alternate. A request can set its own value in flow_policy.branding. |
Send only the fields that you change. Rokh refuses a field that it does not know.
Rokh makes the light and dark shades from your colours. It keeps the contrast of text sufficient for reading. Your colours apply only to your customer pages. The vendor panel keeps the Rokh colours.
To see the shades before you save them, send:
GET /api/vendor/panel/palette-preview?primary=%231f3a93&accent=%23f91e5a&background=%23fff8ec
Password#
POST /api/vendor/panel/password
Content-Type: application/json
{"current": "…", "new": "…"}
- The new password has 12 to 1024 characters.
- The new password must be different from the current password.
- Use a panel session. An API key cannot change the password.
The panel asks you to change the temporary password at the first sign-in.
Your users#
Each vendor account has one panel user. If you need a second user or you want to disable the account, ask the Rokh operations team.