Create a new merchant

Create a new merchant within an organization. Requires ORGANIZATION_SETTINGS_ADD_MERCHANT permission.

Path parameters

organizationIdstringRequired
Organization identifier

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
countryIdstringRequired
profileobjectRequired
defaultCurrencyIdstringOptional
settingsobjectOptional
billingobjectOptional
Billing configuration for the merchant

Response

Merchant created successfully
merchantIdstring
slugstring
profileobject
businessTypestring
businessStructurestring
capabilitiesobject
chargesEnabledboolean
countryIdstring
createdAtstringformat: "date-time"
defaultCurrencyIdstring
kybCompleteboolean
disabledboolean
disabledReasonstring
billingobject
Billing configuration for the merchant
Countryobject or null
brandingobject or null

Errors