Subaccount

Create a Subaccount

Create a Subaccount which can be used to reconcile orders, refunds and payouts more easily.

post/api/service/subaccount/create

Request body

legalNamestring required

The legal name of the Subaccount

mccstring required

The merchant category code of the Subaccount. See here for more information.

websiteUrlstring

The website url of the Subaccount

Response

Returns a new Subaccount

idstring required
legalNamestring required
status'active' | 'inactive' required
mccstring required
{"stackTrail":"components:schemas:CreateSubaccountOutputDto:properties:ownerId","oasType":"schema","type":"unknown"}
websiteUrlstring
{"stackTrail":"components:schemas:CreateSubaccountOutputDto:properties:createdAt","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:CreateSubaccountOutputDto:properties:updatedAt","oasType":"schema","type":"unknown"}

Changes