Transactions
The Mangopay API retains live transaction data for 13 months. This means that any transaction object can be retrieved via the API for 13 months after itsCreationDate
.
This limitation applies:
- To transactions of every
Type
(PAYIN
,TRANSFER
,CONVERSION
,PAYOUT
) andNature
(REGULAR
,REPUDIATION
,REFUND
,SETTLEMENT
) - On all relevant GET endpoints, both to retrieve by Object ID (e.g. GET View a Payout) and to list transactions (e.g. GET List Transactions for a User)
- In both the Production and Sandbox environments
- A GET call on the archived Transaction ID (e.g. GET View a PayIn, GET View a Refund, etc.) returns 404 Not Found
- A GET call to list transactions call (e.g. for a User) doesn’t return the archived transaction
Example - 404 Not Found
Reports
The POST Create a Transactions Report endpoint can be used to create a report containing transactions whoseCreationDate
is up to 36 months in the past. To do so, use the AfterDate
child parameter of the Filters
parameter.
For more information about generating reports, see the Reports article.
Events
GET List all Events returns events up to 45 days after theDate
they occur.
API responses
If an API call contains an idempotency key, it can be retrieved up to 24 hours after theDate
it was sent, using the GET View an API Response endpoint.