Kembali ke Landing
Kembali
API Dokumentasi
API Dokumentasi
Pilih endpoint, copy URL/cURL/response, dan gunakan mode Live atau Sandbox.
Gunakan endpoint ini sesuai kebutuhan integrasi kamu.
Overview
Method
POST
Format
JSON
Auth
Bearer API Key
Header
Header yang wajib dikirim pada request.
| Key | Value | Deskripsi |
|---|---|---|
| Authorization | Bearer {api_key} | API Key merchant |
| Content-Type | application/json | Format request JSON |
Body
Parameter request (JSON). Label “YA” berarti wajib.
| Parameter | Wajib | Deskripsi |
|---|---|---|
| reference | YA | Kode referensi transaksi |
Contoh Request
Gunakan contoh cURL ini untuk testing cepat.
curl -X POST "https://acn.biz.id/api-sandbox/transaction/check-status" \
-H "Authorization: Bearer {api_key}" \
-H "Content-Type: application/json" \
-d '{...}'
Response
Contoh response JSON dari endpoint ini.
{
"success": true,
"data": {
"reference": "T0000000033KGJ0D",
"status": "Paid"
}
}