List Channel Pembayaran

Layanan untuk mendapatkan list banks yang tersedia di Ipaymax.

URL path: /transaction/get-banks

Contoh Kode dalam PHP:

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api-sandbox.ipaymax.com/transaction/get-banks',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Contoh Response Berhasil

{
    "responseCode": "00",
    "responseMessage": "Success",
    "responseData": [
        {
            "code": "MANDIRIVA",
            "name": "MANDIRI",
            "is_active": 1,
            "fee": 3000,
            "fee_type": "nominal"
        },
        {
            "code": "DANA",
            "name": "DANA",
            "is_active": 1,
            "fee": 1.7,
            "fee_type": "persen"
        },
        {
            "code": "ALFAMART",
            "name": "ALFAMART",
            "is_active": 1,
            "fee": 1500,
            "fee_type": "nominal"
        },
        {
            "code": "QRIS",
            "name": "QRIS",
            "is_active": 1,
            "fee": 0.5,
            "fee_type": "persen"
        }
    ]
}

Last updated