PHP demo
— payment integration in vanilla PHP
Checkout
Transactions
API console
DuitNow QR
Requests go through the SDK, so authentication and errors are handled for you. Each operation below is a real SDK method on the
production
API.
Request
production
Operation
getPortals()
fpxBanksList()
getPortal($portalId)
duitNowDobwBanksList()
getServerStatus()
getAllTransactions()
getTransaction($id)
getTransactionByOrderNumber($orderNumber)
getTransactionsByStatus($status)
getTransactionsByPayerEmail($email)
getTransactionsByPaymentChannel($channel)
getTransactionByReferenceNumber($ref)
getPaymentIntent($id)
createPaymentIntent($data)
createDuitNowQrPaymentIntent($data)
regenerateDuitNowQr($id)
getDuitNowQrStatus($transactionId)
cancelPaymentIntent($id)
getAllFpxDirectDebits()
getAllFpxDirectDebitTransactions()
getFpxDirectDebit($id)
getFpxDirectDebitTransaction($id)
createFpxDirectDebitEnrollment($data)
createFpxDirectDebitMaintenance($id, $data)
createFpxDirectDebitTermination($id, $data)
activateFpxDirectDebit($id)
deactivateFpxDirectDebit($id)
Endpoint
Parameter
Request body
{ "portal_key": "c39d8d4478d23891d009a9ac0f327e88", "order_number": "CONSOLE260825044958", "amount": "10.00", "description": "API console test", "payer_name": "John Doe", "payer_email": "john.doe@example.com", "payer_telephone_number": "60123456789" }
Send →