Dokumentasi API

Cek transaksi QRIS

Kembali ke dashboard

Endpoint

GET /api/transactions

Endpoint ini autosync ke portal lalu mengembalikan transaksi hari ini.

Method GET

Tidak perlu body request.

Auth Header Bearer token

Gunakan token merchant Anda pada header Authorization.

Contoh Request

Curl cek transaksi

Ganti placeholder token berikut dengan token merchant Anda.

Authorization: Bearer <token_merchant_anda>
curl -H 'Authorization: Bearer <token_merchant_anda>' \
  https://gopay.bhm.biz.id/api/transactions

Success

Contoh respons berhasil

{
  "items": [
    {
      "external_id": "QRIS-0123456789ABCDE",
      "occurred_at": "2026-03-26T17:22:53",
      "amount": "25.00",
      "status": "settlement",
      "description": "QRIS-0123456789ABCDE | QRIS | DANA | gopay_instore | settlement"
    }
  ]
}

Errors

Contoh respons error

401 Missing bearer
{"detail":"Missing bearer token"}
401 Invalid bearer
{"detail":"Invalid bearer token"}
400 Belum login portal
{"detail":"Transaction sync failed: Tenant is not authenticated"}
400 Sync portal gagal
{"detail":"Transaction sync failed: <portal error>"}