v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-08-0464108237.1 KB
Auth

Create merchant from dashboard

Create and attach a merchant to the current operator user.

post/onboarding/merchant

Request body

merchant_namestring required

Example request

{
  "merchant_name": "Demo Merchant"
}

Response

OK

tokenstring

Refreshed JWT scoped to the new merchant.

merchant_idstring
merchant_namestring

Example response

{
  "token": "eyJ...",
  "merchant_id": "merchant_9f21a6c0",
  "merchant_name": "Demo Merchant"
}