Get All Transactions
The Get All Transactions API allows authorized users to retrieves a list of all transactions in the system.
API Method
GET
Endpoint
https://cebuana-apiuat.veryfyglobal.com/transactions
Headers
Key
Value
Accept
application/json
Authorization
Bearer <YOUR_TOKEN>
Query Parameters
Parameter
Type
Required
Description
branch
integer
No
Filter transactions by branch ID.
customer
integer
No
Filter transactions by customer ID.
purpose
integer
No
Filter transactions by Purpose Enum Value.
created_by
integer
No
Filter transactions by the user ID of the creator.
receipt_no
string
No
Filter receipt number
type
integer
No
Filter transaction type which sell or buy by TransactionType enum value
Example Request
GET https://cebuana-apiuat.veryfyglobal.com/transactions?branch=2&customer=5&purpose=1&created_by=1Response Sample
{
"message": "Ok",
"data": {
"records": [
{
"id": 44,
"receipt_no": "09192024XXXXX",
"branch": {
"id": 1,
"name": "Branch 1",
"address": "Pedro Gil Mabini"
},
"customer": {
"id": 15,
"first_name": "JOHN DOE",
"email": "[email protected]"
},
"purpose": {
"value": 1,
"description": "OFW Remittances"
},
"type": {
"value": 0,
"description": "Buy"
},
"total_amount": "57.50",
"total_profit_amount": "0.05",
"signature": "https://cebuana-1320170901.cos.ap-hongkong.myqcloud.com/local/transaction/44/cd45fe4b-9bec-4de0-be17-cbf2f4ebd80e?sign=q-sign-algorithm%3Dsha1%26q-ak%3DIKID5lNrCYlpiUAjGrMiv0ypYGtUuBF9ydqF%26q-sign-time%3D1727337204%3B1727337864%26q-key-time%3D1727337204%3B1727337864%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3De9a31df698b0ab20339dc5d47ab25ece297145b8&",
"attachment": null,
"transaction_currencies": [
{
"id": 308,
"currency": "United States Dollar (USD)",
"edit_enabled": 0,
"delete_enabled": 0,
"rate": "60.00000",
"exchange_amount": "12.00",
"receive_amount": "720.00",
"receive_profit_amount": "0.60"
}
],
"created_by": {
"name": "RPteller"
},
"created_at": "2024-09-19 16:15:12"
},
{
"id": 43,
"receipt_no": "09112024PJLIXXXX",
"branch": {
"id": 1,
"name": "Branch 1",
"address": "Pedro Gil Mabini"
},
"customer": {
"id": 12,
"first_name": "JOHN DOE 2",
"email": "JOHNDOE@@GMAIL.COM"
},
"purpose": {
"value": 1,
"description": "OFW Remittances"
},
"type": {
"value": 0,
"description": "Buy"
},
"total_amount": "5750.00",
"total_profit_amount": "5.00",
"signature": "https://cebuana-1320170901.cos.ap-hongkong.myqcloud.com/local/transaction/43/a26cb2af-8492-4b3a-adc0-cf29b895fe33?sign=q-sign-algorithm%3Dsha1%26q-ak%3DIKID5lNrCYlpiUAjGrMiv0ypYGtUuBF9ydqF%26q-sign-time%3D1727337204%3B1727337864%26q-key-time%3D1727337204%3B1727337864%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3Dfa4bb9712d983bbb5bd68112f690dddd4f469b81&",
"attachment": null,
"transaction_currencies": [
{
"id": 308,
"currency": "United States Dollar (USD)",
"edit_enabled": 0,
"delete_enabled": 0,
"rate": "60.00000",
"exchange_amount": "12.00",
"receive_amount": "720.00",
"receive_profit_amount": "0.60"
}
],
"created_by": {
"name": "RPteller"
},
"created_at": "2024-09-11 15:41:26"
},
],
"pagination": {
"current_page": 1,
"last_page": 3,
"total_record": 43,
"page_size": 20,
"has_more_page": true
}
}{
"code": "403.000.000",
"message": "This action is unauthorized."
}Last updated