Islamic Payment Gateway
  1. Payment Channel 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. Payment Channel API

Payment

POST
/api/v2/ch/payment
Services
Execute Payment

Request

Body Params application/json
va_number
string 
required
16 Digit Virtual account number that is billed.
>= 16 characters<= 16 characters
Example:
0090011234567890
ref_id
string 
required
Payment reference ID
amount
string 
required
Amount to be paid
Example:
100000
terminal_id
enum<string>  | enum<null> 
optional
Terminal where transaction happen
Allowed values:
atminternet_bankingmobile_bankingtelleredcinterbanktransfervabizchannelposother
Examples:
internet_bankingatm
transaction_date
string 
required
Transaction time Format Y-m-d H:i:s
Example:
2024-12-30 23:18:01
customer_name
string  | null 
optional
Customer name
Example:
John Doe
Example
{
    "va_number": "0090011234567890",
    "ref_id": "string",
    "amount": "100000",
    "terminal_id": "atm",
    "transaction_date": "2024-12-30 23:18:01",
    "customer_name": "John Doe"
}

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 '/api/v2/ch/payment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "va_number": "0090011234567890",
    "ref_id": "string",
    "amount": "100000",
    "terminal_id": "atm",
    "transaction_date": "2024-12-30 23:18:01",
    "customer_name": "John Doe"
}'

Responses

🟢200Success
application/json
Body
rc
string 
optional
>= 1 characters
Default:
SUCCESS
message
string 
optional
Default:
success
timestamp
string 
optional
>= 1 characters
Example:
2022-04-12T11:22:52+07:00
data
object 
optional
Example
{
    "rc": "SUCCESS",
    "message": "success",
    "timestamp": "2022-04-12T11:22:52+07:00",
    "data": {}
}
Previous
Inquiry
Next
Reversal
Built with