Tidak perlu body request.
Endpoint
GET /api/transactions
Endpoint ini autosync ke portal lalu mengembalikan transaksi hari ini.
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
{"detail":"Missing bearer token"}
{"detail":"Invalid bearer token"}
{"detail":"Transaction sync failed: Tenant is not authenticated"}
{"detail":"Transaction sync failed: <portal error>"}