Configure a gateway
POST
/api/v1/admin/payments/config
prm_settings
Upserts one gateway's credentials and settings. Every field is keep-existing, so a partial payload leaves unsent credentials alone rather than clearing them.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_settingsManage settings - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
gatewayrequired
body · string
|
Driver id from the catalogue. |
Errors
| Code | When it is returned |
|---|---|
ERR_VALIDATION400
|
an unknown gateway id, or a field the driver does not accept |