ACGW | API Documentation

ACGW API Integration

Public integration overview for systems connecting to Adillah Consulting Payment Gateway.

Endpoint: https://me12pay.asia/acgw/index.php

Request Parameters

ParameterDescription
acgw_sourceRegistered source/system identifier.
ref_idMerchant transaction reference.
methodIPAY88 / TOYYIBPAY / STRIPE / BANK
amountPayment amount.
descriptionTransaction description.
tracking_idTracking/reference identifier.
return_urlApproved URL for returning payment results.
langms / en

Example Request

https://me12pay.asia/acgw/index.php
?acgw_source=YOUR_SOURCE
&ref_id=ORDER123
&method=IPAY88
&amount=10.00
&description=Payment
&tracking_id=TRACK123
&return_url=https%3A%2F%2Fyourdomain.com%2Fpayment_return.php
&lang=ms

PHP 5.6 Example

<?php
$params=array(
	'acgw_source'=>'YOUR_SOURCE',
	'ref_id'=>'ORDER123',
	'method'=>'IPAY88',
	'amount'=>'10.00',
	'description'=>'Payment',
	'tracking_id'=>'TRACK123',
	'return_url'=>'https://yourdomain.com/payment_return.php',
	'lang'=>'ms'
);
$url='https://me12pay.asia/acgw/index.php?'.http_build_query($params);
header('Location:'.$url);
exit;
?>

Integration Flow

1. Merchant creates its own transaction/reference.

2. Merchant sends the payment request to ACGW.

3. ACGW routes the transaction to the selected supported payment channel.

4. Payment is processed by the relevant payment provider.

5. Payment result is returned according to the approved integration flow.

Security

Production access, source identifiers, approved return URLs and any confidential integration credentials are issued only after registration and approval. Never place secret credentials in public source code or documentation.
Back Register ACGW