Chiwa Pay

Transactions

Daftar transaksi merchant.

GET/api/transactions

Mengambil daftar transaksi merchant.

Query Params

ParamTypeWajibKeterangan
limitintegerTidakJumlah transaksi. Default 50.

Request Example

cURL
curl "<origin>/api/transactions?limit=50" \  -H "Authorization: Bearer sk_xxx"

Response

{
  "transactions": [
    {
      "id": "f2b1d5b0-7b1f-4c5d-9c37-93f0c8f6a001",
      "reference_id": "PAY-LXAMPLE",
      "merchant_reference_id": "ORDER-1024",
      "payment_method_code": "qris",
      "currency": "IDR",
      "amount": 150000,
      "fee_amount": 1050,
      "net_amount": 150000,
      "total_amount": 151050,
      "status": "paid",
      "paid_at": "2026-05-19T10:01:00Z",
      "created_at": "2026-05-19T10:00:00Z",
      "updated_at": "2026-05-19T10:01:00Z"
    }
  ]
}

Response Fields

FieldKeterangan
transactionsDaftar transaksi.
transactions[].idUUID transaksi.
transactions[].reference_idID transaksi dari Chiwa Pay.
transactions[].merchant_reference_idID order dari merchant.
transactions[].statusStatus transaksi.
transactions[].total_amountNominal yang harus dibayar pelanggan.

HTTP Error Code

HTTPCodeKeterangan
401invalid_api_keySecret key tidak valid.
403merchant_not_approvedMerchant belum aktif.
500server_errorTransaksi gagal dimuat.

Di halaman ini