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 new set of capabilities. Proposed to the merchant once they have accepted the connection.
Your fee on the account's activity: `percentage_fee`, `fixed_fee`, `min_fee`, `max_fee`, `currency`.
Percentage the platform retains (0–100). Proposed to the merchant once they have accepted the connection.
Flat fee per operation (major unit).
Cap on the computed fee.
Floor on the computed fee.
Currency for the fee figures, required if any of fixed_fee/min_fee/max_fee is set.
The page the merchant is sent back to once they have accepted the connection. HTTPS only; `http://localhost` and `http://127.0.0.1` are accepted with a sandbox key.
The merchant's address, where the invitation reminder is sent. Kept in `profile.email`; `null` removes it.
Merged into the connection's metadata; a key sent as `null` is removed.
`active` or `suspended`: your own switch on the connection's payments. `active` cannot lift a suspension Wajub applied because the merchant's verification is pending or was rejected.
"active""suspended"`prorata`, `full` or `none`. Only while the connection is pending.
"prorata""full""none"`manual`, `daily`, `weekly` or `monthly`. Lite accounts only.
"manual""daily""weekly""monthly"Do not pay out below this, in the merchant's own currency. Lite accounts only.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://api.wajub.com/accounts/acc_Gt6yU3nE8rM1kS5vX9bQ" \ -H "Content-Type: application/json" \ -d '{}'{ "code": 200, "account": { "id": "acc_Gt6yU3nE8rM1kS5vX9bQ" }, "status": "OK", "message": "Account updated"}OK