Skip to content
Introduction

Introduction

go-snap-bi

go-snap-bi is a Go implementation of Bank Indonesia’s SNAP (Standar Nasional Open API Pembayaran) payment standard — document version 1.0.2 (September 2024) — covering every API Service category published on the ASPI SNAP Developer Site.

This SDK targets SNAP standard version 1.0.2, published September 2024. If ASPI/Bank Indonesia release a newer document version, check the GitHub repository before assuming a field or endpoint here still matches the latest spec.

Independent, unofficial implementation of the standard published by Bank Indonesia and ASPI — not affiliated with or endorsed by either.

go get github.com/koriebruh/go-snap-bi

Status

All 7 of the portal’s API Service categories are accounted for — 79 typed endpoint bindings across 5 domain packages, plus the shared signing/token/transport core.

Portal categoryPackageService CodesEndpoints
Registrasiregistration01–10, 8111
Informasi Saldobalanceinfo111
Riwayat Transaksitransactionhistory12–143
Transfer Kredittransfercredit15–53, 75–7843
Transfer Debittransferdebit54–72, 79–8021
Keamananroot snap package (Authentication)73–74
Administrasi(no API endpoints on the portal — onboarding docs only)

Keamanan’s Access Token endpoints live in the root package instead of their own subpackage: every other package needs them just to get a token, so they’re infrastructure, not a peer domain.

Design

Where to go next