Docs
Tx Status Lot
Tx Status Lot
This is an endpoint specific for certain type of integrations. It allows the user to check all confirmed charge transactions in a given time period up to 24 hours range per request It's only available for Charge Service at this point and it'll return a list with a dictionary inside providing all the information for each of the different payments received including external_reference key for validations.
Path Parameters
store_id
optional
int[]
You can pass a list of integers [1, 2, 3] to identify store. If not provided it's assume all.
checkout_id
optional
int[]
You can pass a list of integers [1, 2, 3] to identify checkout. If not provided it's assume all.
start
optional
EPOCH
Starting point of the selected time period.
end
optional
EPOCH
End of the selected time period.
const store_id = [1, 2, 3]
const checkout_id = [1, 2, 3]
const start = 1718472442
const end = 1718418515
const url = `${baseURL}/v2/status/tx_status_lot?store_id=${store_id}&checkout_id=${checkout_id}&start=${start}&end=${end}`
const response = await fetch(url, {
method: "GET",
headers: {
Authorization: `Bearer ${access_token}`,
"Content-Type": "application/json",
},
});
Response samples
[
{
"store_id": "1",
"checkout_id": "1",
"operation_id": "1718462463281",
"tx_hash": "txid5",
"brl_requested": "25.00",
"usdt_credited": "5.00000",
"external_data": "Factura 6", # User provided external information
"request_datetime": "1718472442.872", # QR Code generation epoch
"credit_datetime": "1718472443.872", # USDT transfer epoch
},
{
"store_id": "1",
"checkout_id": "1",
"operation_id": "1718399849145",
"tx_hash": "txid1",
"brl_requested": "150.00",
"usdt_credited": "20.00000",
"external_data": "Factura 2",
"request_datetime": "1718418514.401",
"credit_datetime": "1718418515.401",
}
]