kamiPay LogokamiPay Docs

Tx Status Lot

Query multiple transaction statuses within a time period

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

NameTypeDescription
store_idint[]Optional. You can pass a list of integers [1, 2, 3] to identify store. If not provided it's assume all.
checkout_idint[]Optional. You can pass a list of integers [1, 2, 3] to identify checkout. If not provided it's assume all.
startEPOCHOptional. Starting point of the selected time period.
endEPOCHOptional. End of the selected time period.

Example Request

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

[
  {
    "store_id": "1",
    "checkout_id": "1",
    "operation_id": "1718462463281",
    "tx_hash": "txid5",
    "brl_requested": "25.00",
    "usdt_credited": "5.00000",
    "external_data": "Factura 6",
    "request_datetime": "1718472442.872",
    "credit_datetime": "1718472443.872"
  },
  {
    "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"
  }
]

This endpoint is limited to returning transactions within a 24-hour period. For longer time ranges, make multiple requests with different start/end periods.

On this page