Get All Transaction
GET
https://us-central1-appgregator.cloudfunctions.net/xendit/transactions/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
xendit-sanbox-1
types
String
PAYMENT
statuses
String
SUCCESS
limit
Number
2
after_id
String
txn_3e78c071-f6eb-483f-8b36-2a70742b13a7
before_id
String
txn_c8baac85-5f3d-4e82-b9f6-b9a94b53b9bc
Headers
Name
Type
Description
x-api-key*
String
U2Fsd...
{
"has_more": true,
"data": [
{
"id": "txn_c8baac85-5f3d-4e82-b9f6-b9a94b53b9bc",
"product_id": "62f4b5b8ccec448135c51fd4",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0048/VIII/2022",
"account_identifier": "62f4b56830808a0caaa5b3d8",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-11T08:09:33.605Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-11T07:54:33.600Z",
"updated": "2022-08-11T07:54:36.923Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_d97e6c94-6881-4b5c-b0a4-a68e09427434",
"product_id": "62f37edba649c47ed2ae82b9",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "VIRTUAL_ACCOUNT",
"channel_code": "BNI",
"reference_id": "demo_virtual_account_1475459775872",
"account_identifier": "999964652719",
"currency": "IDR",
"amount": 5000,
"net_amount": 5,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-10T10:08:13.160Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-10T09:48:13.155Z",
"updated": "2022-08-10T09:48:16.656Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_e9ecae27-207b-49fd-a523-70aba0ce8fe1",
"product_id": "62f094244c94a8d1a4ffe973",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0055/VIII/2022",
"account_identifier": "62f094097098f7678f55fc3f",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-08T04:57:13.236Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-08T04:42:13.231Z",
"updated": "2022-08-08T04:42:16.879Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_a35ce54d-85f4-4e15-bb01-71aa12691793",
"product_id": "62f0927f739fd7aee622a2df",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "BNI",
"reference_id": "INV0053/VIII/2022",
"account_identifier": "62f0925d09accd6665567b58",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-08T04:50:12.504Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-08T04:35:12.499Z",
"updated": "2022-08-08T04:35:16.236Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_8e1c9f8c-8e61-4021-ae1e-bd0552566330",
"product_id": "62f08e534c94a88185ffe933",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0052/VIII/2022",
"account_identifier": "62f08e3d09accda086567a97",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-08T04:32:24.391Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-08T04:17:24.386Z",
"updated": "2022-08-08T04:17:27.576Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_b1ea8f36-1023-4478-ad75-818a52219581",
"product_id": "62f08b554c94a882adffe91f",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0051/VIII/2022",
"account_identifier": "62f08b397098f7202255f95f",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-08T04:19:38.264Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-08T04:04:38.250Z",
"updated": "2022-08-08T04:04:41.716Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_08ded18b-2172-466b-84fe-4e6ce8701c96",
"product_id": "62f08a39739fd7af6822a28d",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0050/VIII/2022",
"account_identifier": "62f08a1f09accd004d56786e",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-08T04:14:54.776Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-08T03:59:54.770Z",
"updated": "2022-08-08T03:59:58.435Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_3b2d5d9f-ad7f-4ecc-b763-7b7f499bbd26",
"product_id": "62f00b5c4c94a8f5bfffe80a",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0048/VIII/2022",
"account_identifier": "62f00ac409accd62c85673c4",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-07T19:13:38.151Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-07T18:58:38.145Z",
"updated": "2022-08-07T18:58:41.295Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_8407aa0f-31eb-4cc1-9754-5ca8f7fc1224",
"product_id": "62efe799739fd73c7622a175",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "BRI",
"reference_id": "INV00367/VIII/2022",
"account_identifier": "62efe6747098f7dfc755f280",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-07T16:41:03.189Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-07T16:26:03.184Z",
"updated": "2022-08-07T16:26:06.529Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
},
{
"id": "txn_3e78c071-f6eb-483f-8b36-2a70742b13a7",
"product_id": "62efce554c94a8f96effe7a2",
"type": "PAYMENT",
"status": "SUCCESS",
"channel_category": "INVOICE",
"channel_code": "MANDIRI",
"reference_id": "INV0035/VIII/2022",
"account_identifier": "62efce2c7098f7611955f169",
"currency": "IDR",
"amount": 8500000,
"net_amount": 8495005,
"cashflow": "MONEY_IN",
"settlement_status": "SETTLED",
"estimated_settlement_time": "2022-08-07T14:53:14.783Z",
"business_id": "6279ce4495d10c9afc3171b8",
"created": "2022-08-07T14:38:14.777Z",
"updated": "2022-08-07T14:38:18.173Z",
"fee": {
"xendit_fee": 4500,
"value_added_tax": 495,
"xendit_withholding_tax": 0,
"third_party_withholding_tax": 0,
"status": "COMPLETED"
}
}
],
"links": [
{
"href": "/transactions?types%5B0%5D=PAYMENT&statuses%5B0%5D=SUCCESS¤cy=IDR&limit=10&after_id=txn_3e78c071-f6eb-483f-8b36-2a70742b13a7",
"method": "GET",
"rel": "next"
}
]
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/xendit/transactions/txn_c8baac85-5f3d-4e82-b9f6-b9a94b53b9bc?name=ft-4&connection_name=xendit-sanbox-1' \
--header 'x-api-key: U2Fsd...'
var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/xendit/transactions/txn_c8baac85-5f3d-4e82-b9f6-b9a94b53b9bc?name=ft-4&connection_name=xendit-sanbox-1',
headers: {
'x-api-key': 'U2Fsd...'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Last updated