POST /merchants/create

Create Merchant ---- [auth scope: admin, grandparent, parent]

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
redirectUrlstringRequired

The new merchant URL

merchantNamestringRequired

The new merchant name

statusobjectRequired

The new merchant status

parentIdstringRequired

The new merchant parent

preferredDisplayModestringRequired

The new merchant Preferred display mode for payment

paymentStatusFetchEnabledbooleanOptional

Whether to fetch payment status after processing

Responses
chevron-right
200

Merchant created successfully

application/json
merchantIdstringRequired

The merchant ID

redirectUrlstringRequired

The merchant redirect url

merchantNamestringRequired

The merchant name

statusbooleanRequired

The merchant status

parentIdstringRequired

The parent ID

authClientIdstringRequired

The merchant client ID

authClientSecretstringRequired

The merchant client secret

hmacKeystringRequired

The merchant hmac key

partnerMerchantIdstringRequired

The partner's merchant id

post
/merchants/create
200

Merchant created successfully

Last updated