Get Payment Method
Before you initiate a payment session, you need to know which payment methods are available to the merchant (e.g., FPX, card payments, QR, eWallet, etc.).
This endpoint returns all active payment methods (gateways) associated with the current interface.
Endpoint URL
GET https://{base_url}/v1/interface/gatewaysResponse
{
"gateways": [
{
"gateway_uuid": "52c75ce3-636c-45c2-b8af-998cfed23d78",
"gateway_type": "Fpx",
"enabled": true,
"bank_type": "retail",
"bank_view": "list"
},
{
"gateway_uuid": "9a82fe64-c122-4f5b-8993-24a479b67723",
"gateway_type": "Duitnow",
"enabled": true,
"bank_type": "retail",
"bank_view": "list"
}
]
}{
"error": {
"status": 401,
"message": "Unauthorized"
}
}Last updated
