Get All Transactions
Endpoint:
https://api.cronosengine.com/api/transactions?page=1&status=success&date=2023-08-23&type=cashIn
Method : GET
Allows Merchants to get list of transaction's from the Cronos system.
This is especially true when there's no message body to include. Hashing only the Project Key ensures a level of authentication between the client and the server.
- PHP
$signature = hash_hmac('sha512', $key, $token);
info
The system retains transaction records for the last seven days only. For access to records older than this period, please contact your system administrator.
Parameters
| Parameter | Description | Default |
|---|---|---|
| page | The page number of the transaction list. | 1 |
| status | The status of the transaction. success, pending, expired, failed | success |
| date | The date of the transaction. | |
| type | The type of the transaction. cashIn / receive, cashOut / send |
Response Parameters
| Parameter | Description |
|---|---|
| responseCode | The HTTP response code indicating the status of the request. you can see the detailed information in the Error Codes Section. |
| responseMessage | A descriptive message indicating the status of the request. |
| responseData | An object containing the data related to the transaction response. |
Example
Request
- cURL
curl --location 'https://api.cronosengine.com/api/balance' \
--header 'On-Key;' \
--header 'On-Token;' \
--header 'On-Signature;' \
--data ''
Response
{
"responseCode": 200,
"responseMessage": "success",
"responseData": [
{
"id": "repellendus",
"merchantRef": "nisi",
"status": "pending",
"feePayer": "merchant",
"amount": 5930000,
"fee": 3942077,
"totalAmount": 5930000,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "5443020792443311",
"recipientName": "Mr. Deangelo Robel IV"
}
},
{
"id": "quisquam",
"merchantRef": "quibusdam",
"status": "pending",
"feePayer": "merchant",
"amount": 6990000,
"fee": 4535977,
"totalAmount": 6990000,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "4024007176851342",
"recipientName": "Crystal Berge"
}
},
{
"id": "facere",
"status": "pending",
"accountNumber": "349545121344133",
"accountName": "Mr. Drake Gutkowski",
"bankCode": null,
"additionalInfo": {
"callback": null
}
},
{
"id": "qui",
"merchantRef": "et",
"status": "pending",
"feePayer": "merchant",
"amount": 9410000,
"fee": 5891377,
"totalAmount": 9410000,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "4024007179647",
"recipientName": "Devon O'Conner Jr."
}
},
{
"id": "quia",
"merchantRef": "porro",
"status": "pending",
"feePayer": "merchant",
"amount": 7690000,
"fee": 4930477,
"totalAmount": 7690000,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "4556841642732918",
"recipientName": "Justen Herman"
}
},
{
"id": "in",
"merchantRef": "qui",
"status": "pending",
"feePayer": "customer",
"amount": 6200000,
"fee": 4093877,
"totalAmount": 10293877,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "6011691151485299",
"recipientName": "Mr. Kacey Waters"
}
},
{
"id": "sequi",
"merchantRef": "nihil",
"status": "pending",
"feePayer": "customer",
"amount": 1900000,
"fee": 1684677,
"totalAmount": 215323,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "5336166414092463",
"recipientName": "Maddison Upton"
}
},
{
"id": "enim",
"merchantRef": "quod",
"status": "pending",
"feePayer": "customer",
"amount": 5020000,
"fee": 3437277,
"totalAmount": 8457277,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "2699873190921421",
"recipientName": "Darlene Kshlerin"
}
},
{
"id": "quasi",
"merchantRef": "qui",
"status": "pending",
"feePayer": "merchant",
"amount": 6760000,
"fee": 4409477,
"totalAmount": 6760000,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "4539383247675079",
"recipientName": "Ellsworth Jacobson Jr."
}
},
{
"id": "dolorum",
"merchantRef": "et",
"status": "pending",
"feePayer": "customer",
"amount": 7420000,
"fee": 4783777,
"totalAmount": 12203777,
"expiredDate": "2023-10-09T23:59:59+07:00",
"paidDate": null,
"settleDate": "2023-10-09T13:38:37+07:00",
"additionalInfo": {
"callback": null
},
"disbursement": {
"bankCode": null,
"recipientAccount": "4716296795643486",
"recipientName": "Darrick Rath V"
}
}
],
"responseExtra": {
"currentPage": 1,
"totalPages": 2,
"totalRecords": 15
}
}