POST /v1/merchant-accounts/{merchantAccountId}/customers
POST
/v1/merchant-accounts/{merchantAccountId}/customersAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
merchantAccountIdstringrequiredmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerProfileIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexternalCustomerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullphonestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstringrequiredmin length 1
externalCustomerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullphonestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullrequestIdstringrequiredmin length 1