Islamic Payment Gateway
  1. Passive Client API
Islamic Payment Gateway
  • Passive Client API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
    • Check Status
      POST
  • Active Client API
    • Bill
      • Create New Bill
      • Get Bill List
      • Get Bill Information
      • Revoke Bill
      • Get Bill Payments
      • Fake/Mock Payment & Reversal
    • Payment
      • Get Payment List
    • Account
      • Get Account Mutations
    • Institution
      • Institution Account List
      • Institution List
      • Institution Detail
    • Webhook
      • Webhook Call
  • Payment Channel API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
  • Authentication
    • OAuth 2.0
      POST
    • Signature
      VIEW
  1. Passive Client API

Check Status

POST
/check-status

Request

Header Params
Signature
string 
required
request body or query string hash value using HMAC method. algorithm=sha256, key = API_KEY
Accept
string 
required
Accept application/json
Example:
application/json
Body Params application/json
channel
string 
required
Payment channel
prefix
string 
required
6 digit BCN
virtual_account
string 
required
10 digits unique virtual account
payment_ref
string 
required
Channel Reff ID
date
string 
required
Format YYYY-mm-dd
Example
{
    "virtual_account": "1234567890",
    "channel": "bank_name",
    "prefix": "857101",
    "payment_ref": "1729130227",
    "date": "2024-11-10"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/check-status' \
--header 'Signature;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "virtual_account": "1234567890",
    "channel": "bank_name",
    "prefix": "857101",
    "payment_ref": "1729130227",
    "date": "2024-11-10"
}'

Responses

🟢200OK
application/json
Body
rc
string 
required
message
string 
required
timestamp
string 
required
data
object (Payment Model) 
required
Information about bill
Example:
{"hash":"string","va_number":"8575991234567890","invoice_number":"string","type":"open","name":"SPP Januari 2022","customer_name":"string","customer_email":"string","customer_phone":"string","customer_address":"string","total_amount":0,"billed_amount":0,"paid_amount":0,"status":"paid","ext_description":"string","description":"string","valid_until":"2022-04-05T13:32:08+07:00","created_at":"2022-04-05T13:32:08+07:00","components":[{"id":"string","name":"string","qty":1,"price":"string","total":"string"}]}
hash
string 
required
Bill UNIQUE identification id
va_number
string 
required
16 digit Full Qualified Virtual Number
Example:
8575991234567890
invoice_number
string 
required
Invoice Number of the bill
type
enum<string> 
required
bill type
Allowed values:
openclosepartial
transaction_ref_id
string 
required
Your transaction ref_id
name
string 
required
Bill name
Example:
SPP Januari 2022
customer_name
string 
required
Customer name
customer_email
string 
optional
customer_phone
string 
optional
customer_address
string 
optional
total_amount
integer  | number 
required
Bill's total amount
billed_amount
integer  | number 
required
Amount billed of total_amount
paid_amount
integer  | number 
required
Paid amount of total_amount
status
enum<string> 
required
Allowed values:
paidactivevoidreversalexpired
ext_description
string 
optional
description
string 
optional
valid_until
string 
required
Time until bill is invalid.
Date Time is in ISO8601 format
Example:
2022-04-05T13:32:08+07:00
created_at
string 
required
Bill created date in ISO8601 format
Example:
2022-04-05T13:32:08+07:00
components
array[object (Bill's component) {5}] 
required
additional_data
object (additional-data) 
optional
Sometimes we need to add additional information, so that the payment channel able to display clearer information to customers about bill (if supported by channel)
Example:
{"key":"kelas","label":"Kelas / Angkatan","value":"8A"}
payment
object 
optional
Example
{
    "rc": "SUCCESS",
    "message": "success",
    "timestamp": "2022-04-05T06:11:58+07:00",
    "data": {
        "hash": "x24da1dF",
        "va_number": "8673011234567890",
        "type": "open",
        "invoice_number": "INV-02-00001",
        "name": "SPP Bulan Januari",
        "customer_name": "John Doe",
        "customer_email": "john.doe@example.com",
        "customer_phone": "+621234567890",
        "customer_address": "Surabaya, Indonesia",
        "total_amount": 100000,
        "billed_amount": 100000,
        "paid_amount": 0,
        "description": "Pembayaran SPP Bulan Januari",
        "ext_description": "-",
        "valid_until": "2022-04-05T13:32:08+07:00",
        "status": "active",
        "created_at": "2022-04-04T06:32:08+07:00",
        "components": [
            {
                "id": "95f5c77f-79de-4c12-a151-ef7c68e9b7d2",
                "name": "SPP Januari",
                "qty": "1",
                "price": "100000",
                "total": "100000"
            }
        ],
        "additional_data": [
            {
                "key": "class (programming safe), alphanum, snake_case, lowercase",
                "label": "Kelas / Angkatan",
                "value": ""
            }
        ]
    }
}
Previous
Reversal
Next
Active Client API
Built with