Auth

Create merchant from dashboard

Changed on

Create and attach a merchant to the current operator user.

post/onboarding/merchant

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/onboarding/merchant
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

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"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added