Cutiezy ID
Cutiezy • API Docs

BPJS

Kategori tagihan Service code bpjs

Informasi Endpoint

Method
GET
Kategori
tagihan
Endpoint Dasar
https://api.cutiezy.id/api/check/tagihan
Service
bpjs
Deskripsi
Cek tagihan BPJS.

Parameter

Nama Label Type Required Min Max
service Kode Service text Ya - -
customer_id Nomor BPJS digits Ya 6 30
apikey API Key text Ya* - -
* API key disarankan lewat header X-API-Key, tetapi bisa juga lewat query apikey.

Contoh Test Link

https://api.cutiezy.id/api/check/tagihan?service=bpjs&customer_id=0001234567890&apikey=YOUR_API_KEY

Contoh Request cURL

curl -X GET "https://api.cutiezy.id/api/check/tagihan?service=bpjs&customer_id=0001234567890" \
  -H "X-API-Key: czw_xxxxxxxxxxxxxxxxx"

Contoh Response

{
    "success": true,
    "message": "Berhasil",
    "service": "bpjs-kesehatan",
    "category": "tagihan",
    "data": {
        "brand": "bpjs-kesehatan",
        "customer_id": "0001234567890",
        "customer_name": "WAHYU SETIAWAN",
        "bill": 35000
    }
}

Autentikasi

Semua endpoint mendukung header:

X-API-Key: czw_xxxxxxxxxxxxxxxxx

Atau query fallback:

apikey=czw_xxxxxxxxxxxxxxxxx

Catatan

  • • 1 API key hanya untuk 1 IP aktif.
  • • Parameter wajib harus dikirim lengkap.
  • • Jika IP berbeda dari IP yang terkunci, request akan ditolak.
  • • Gunakan parameter service untuk menentukan layanan.
  • • Query fallback untuk API key adalah apikey.