Create a merchant account

Creates a live merchant account and registers its payment webhook.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
type_idintegerRequired
namestringRequired
connection_datastringRequired

JSON-encoded driver connection data.

charge_processing_feesboolean or nullOptional
fee_display_optionstring or nullOptional
optional_fee_coveragestring or nullOptional
credit_card_enabledboolean or nullOptional
ach_enabledboolean or nullOptional
deposit_account_idinteger or nullOptional
ruleslist of objects or nullOptional

Response

The merchant account was created and its webhook was registered.
statusstringOptional
messagestringOptional
datalist of anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error