POST /v1/merchant-accounts/{merchantAccountId}/statements
POST
/v1/merchant-accounts/{merchantAccountId}/statementsAuthorization
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
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfilenamestringrequiredmin length 1
contentTypestringrequiredAllowed:
text/csvtext/plaintext/tab-separated-valuesapplication/pdfapplication/octet-streambodystringrequiredmin length 1
Responses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstringrequiredmin length 1
filenamestringrequiredmin length 1
statusstringrequiredAllowed:
receivedparsedfailedcreatedAtstringrequiredmin length 1
requestIdstringrequiredmin length 1