API Dokumentasi

Pilih endpoint, copy URL/cURL/response, dan gunakan mode Live atau Sandbox.

ENDPOINT
Detail Transaksi
POST Full URL:
https://acn.biz.id/api/transaction/detail
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/transaction/detail" \
  -H "Authorization: Bearer {api_key}" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
Contoh response JSON dari endpoint ini.
{
    "success": true,
    "data": {
        "reference": "T0000000033KGJ0D",
        "merchant_reff": "INV20250429006",
        "payment_method": "BCAVA",
        "payment_name": "BCA Virtual Account",
        "amount": 15000,
        "fee": 5000,
        "amount_received": 10000,
        "payment_code": "15514821000000032",
        "expdate": "2025-04-29 14:01:08",
        "status": "Canceled"
    }
}