Download information on all transactions between two dates. Formatted as a .JSON or .CSV

Parameters


format

Sets the format the file is delivered in and can be either csv or json.


start_date

The date and time for the start of the report formatted in ISO8601.


end_date

The date and time for the end of the report formatted in ISO8601.


statuses

Optional list of transaction statuses delimited by coma to filter by (“PENDING” “PROCESSING” “REJECTED” “PROCESSED” “FAILED” “CANCELLED” “EXPIRED”).


 

Request Get

.../api/v1/merchant/transactions/report.{format}?start_date={start_date}&end_date={end_date}&status={statuses}

Returns

A CSV or JSON containing the filtered transactions with the following data


merchantTransactionId

The transaction ID sent by the merchant when this transaction was created.


merchantUserId

The user ID sent by the merchant when this transaction was created.


userWallet

A unique ID that represents the users wallet.


date

The date and time the transaction was created in ISO8601 format.


comment

The comment field attached to the transaction.


amount

A positive integer in cents representing the value of the transaction.
e.g. 100 EUR would be 10000 / 50 USD would be 5000


type

The Type of transaction (“MERCHANT_PAYOUT” “MERCHANT_PAYIN” “MERCHANT_REFUND”).


fee

The fee chargeable to the merchant for this transaction in EUR cents.


status

A status object with the status of the transaction.


 

Response

{
"transactions": [
{
"date": "string", // transaction date in ISO 8601 format
"transactionId": "string", // transaction ID
"merchantTransactionId": "string", // transaction ID
"merchantUserId": "string", // unique id of the user in the merchant system
"userWallet": "string", // user's wallet ID
"type": "string", // one of MERCHANT_PAYIN, MERCHANT_PAYOUT, MERCHANT_REFUND
"comment": "string",
"amount": number, // amount in EUR that is transferred between wallets
"fee": number // amount in EUR that is charged for the transfer,
"status": "string" // transaction status
}
],
"status": {
"code": "string", "message": "string"
}
}

Notes

If both start_date and end_date are missing the report is generated for all transactions.