v47

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-013871777.1 KB
Subaccount

Create a Subaccount

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

post/api/service/subaccount/create

Headers

Idempotency-Keystring

Idempotency key for safe retries. Reusing a key with an identical request body returns the cached response. Reusing a key with a different body returns 409.

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