Request a payment file

Supporting operation for GET Files: request a CSV export of payments belonging to existing settlement files in a date range. It does not create a raw X9 settlement file. Dates cannot be in the future; end_date must be on/after start_date and the difference must not exceed 31 days. payment_type is the selector here, unlike type for ordinary payments. Existing requests can return HTTP 201 with Error/R0333 or Error/R0335.

Result codes in the response examples

HTTP status and result code are operation-specific. Field-validation messages can include the affected field name.

HTTPCodeResultMeaning
201R0330OkThe request has been accepted and is pending generation
201R0333ErrorFile is generating
201R0335ErrorFile generation failed. Please contact support
201R0336OkThere is already a completed request for this date range within the last 12 hours. Send <remake_file=true> to re-generate the file.
400R0002ErrorField is not properly formatted
400R0002Errorpayment_type must be ACH, X9, or CC
400R0331ErrorYou cannot select a period greater than 31 days
400R0332ErrorDate cannot be in the future
400R0337ErrorEnd date must be after start date
400R0340ErrorNothing to generate for the specified date range
401R0003ErrorAuthentication token is invalid
403R0003ErrorAccess not allowed
500R0999ErrorSomething went wrong
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON request body. Required and conditional fields are defined by the schema. Named examples show supported request variants.

X9 File Request. Field definitions, required properties and payload examples describe its use in the operations below.

string
enum
required

Payment method; file-export POST uses X9 in this edition.

Allowed:
date
required

First date of the requested date window, in YYYY-MM-DD format.

date
required

Last date of the requested date window, in YYYY-MM-DD format.

boolean
Defaults to false

Whether to regenerate an existing matching CSV export request when supported by its current state.

Responses

default

Other infrastructure or forwarded downstream response. HTTP status and body must be preserved; do not assume every error has a Payology R-code. No fixed payload is guaranteed.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json