POST
/api/v1/merchant/api-keys
Create an API key
Mint a gateway API key for a signed-in merchant (JWT-authenticated). The `secret` and `webhook_secret` are returned only once.
Parameters
label
string
A human label, e.g. "WooCommerce store".
mode
string
test | live. Defaults to test.
webhook_url
string
Default endpoint for outbound webhooks.
curl https://malaleem.com/api/v1/merchant/api-keys \
-H "Authorization: Bearer {jwt}" \
-d label="WooCommerce" -d mode=test