Authorization
default A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
The subaccount `id`.
Request Body
application/json
The components to turn on: keys among `notifications`, `payments`, `payouts`, `balance`, `account`, `disputes`, at least one with `enabled: true`.
The actions waiting for the seller, for the top of your pages.
The seller's sales, with fees, commission, status and refunds, and the detail of each one (Lite only).
The payouts Wajub sent, what each one settles, the next payout, what holds payouts back, and the yearly statements.
Available, pending, kept in reserve, held until delivery; for a Relay seller, their dues.
The seller's identity check and payout account (Lite only).
The disputes on the seller's sales (Lite only), and their answer when the account's `dispute_handling` lets them give it (`seller` or `both`); read-only with `platform`.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.wajub.com/accounts/acc_Gt6yU3nE8rM1kS5vX9bQ/embedded_sessions" \ -H "Content-Type: application/json" \ -d '{ "components": {} }'{ "code": 201, "status": "Created", "message": "Embedded session created", "embedded_session": { "id": "es_0193f3c2a1b47c9e8d2f5a6b7c8d9e0f", "client_secret": "es_0193f3c2a1b47c9e8d2f5a6b7c8d9e0f_secret_…", "expires_at": "2026-11-20T10:05:00+00:00", "account_type": "lite", "components": { "notifications": { "enabled": true, "features": {} }, "payments": { "enabled": true, "features": { "refund_management": false } }, "payouts": { "enabled": true, "features": {} }, "balance": { "enabled": false, "features": {} }, "account": { "enabled": false, "features": { "edit_payout_account": false } }, "disputes": { "enabled": false, "features": {} } }, "loader_url": "https://acme.wajub.app/embed/v1.js" }}Created