Create Sub-Merchant
POST
/v1/sub-merchants
授权
bearer_auth
API key authentication. Use sk_test_... for sandbox or sk_live_... for production.
类型
HTTP (bearer)
请求体
application/json
JSON "display_name": "Tokyo Branch", "sub_merchant_code": "shop_tokyo"
{
}
响应
Sub-merchant created
application/json
JSON "child_org_id": "string", "created_at": "2026-01-15T08:30:00Z", "display_name": "Tokyo Branch", "id": "sm_abc123", "parent_org_id": "string", "status": "string", "sub_merchant_code": "shop_tokyo", "updated_at": "2026-03-20T10:00:00Z"
{
}