Authentication
Authenticate requests using anx-api-key header. You can find your API key in the Developer Keys page of the dashboard.
Retrieving the refunds before clearing file
To retrieve the list of files for a period, send aGET request to:
https://settlements.paybyrd.com/api/v1/authorization-files?createdFrom={startDateTime}&createdTo={endDateTime}
Response content structure
Usage recommendations
Paybyrd normally generates one file per day. However, there may be situations where more than one file is generated for the same day, in which case these files are complementary and must be fully processed to obtain all refunds before clearing information. To receive all settlements consistently each day, make requests with sequential date periods. For example, an automated system could make one request per day, using thecreatedTo value from the previous request as the createdFrom value for the next.
Retrieving a list of refunds before clearing files for a specific day
To retrieve files for a specific day, set the period from 00:00 to 23:59, as in the example below.Retrieving a list of refunds before clearing files (period filtering)
When filtering by period, days with no file are omitted from the results. Usefrom and to as query parameters and the authorization-files endpoint for period filtering.
File specification
The file is created in CSV format using| (pipe) as a separator. The filename follows this pattern: yyyy-MM-ddThh-mm-ssZ-PaybyrdSettlement.csv
Example: 2022-11-18T16-49-58Z-PaybyrdSettlement.csv

