Sandbox open now. Live Maybank FPX is being prepared with the bank.

Online banking payments for Malaysian businesses

Create a payment from your server, send your customer to their bank, and get a signed update when it's done.

Example sandbox payment of RM 10.00 for order-1001: your server creates it, the customer chooses online banking on the checkout page, the bank approves it and the payment is marked succeeded.

One payment, start to finish

What happens between your customer pressing pay and your server knowing the money came through.

  1. Your server creates the payment

    One request, with the amount in sen: RM 10.00 is 1000. Send the same Idempotency-Key again and you get the same payment back, never a second one.

  2. Your customer chooses their bank

    They pick online banking on a GBA Pay checkout page. It never asks for their bank password.

  3. The bank approves it

    The payment moves from pending to succeeded and appears in your transaction history.

  4. Your server gets a signed update

    Each webhook carries an HMAC-SHA256 signature and a timestamp. If your server misses one, it's sent again.

Built so every payment is counted once

1000
sen is RM 10.00. Every amount is a whole number, so nothing is ever rounded.
1
payment per Idempotency-Key, however many times your server retries the request.
300s
is the oldest webhook timestamp to accept, so replayed messages are turned away.

What GBA Pay handles

The parts of taking payments you'd rather not build yourself.

From sign-up to your first payment

  1. Register

    Create your login and set up your authenticator app.

  2. Add your business

    Enter your company details and invite your team.

  3. Get approved

    Our team reviews your business and activates it.

  4. Connect your server

    Create a sandbox API key and send your first test payment.

Built for your developers

Amounts are whole sen, so there's no rounding. Every request is idempotent, and every webhook is signed so your server can check it came from us.

The full API reference and an OpenAPI file are in the merchant portal once you log in.

Request

curl -X POST "$GBA_PAY_API_BASE/accounts/$ACCOUNT_ID/payments" \
  -H "Authorization: Bearer $GBA_PAY_API_KEY" \
  -H "Idempotency-Key: order-1001" \
  -H "Content-Type: application/json" \
  -d '{
    "amountMinor": "1000",
    "currency": "MYR",
    "accountReference": "order-1001"
  }'

Response 201

{
  "payment": {
    "status": "pending",
    "amountMinor": "1000",
    "currency": "MYR",
    "accountReference": "order-1001"
  },
  "replayed": false
}

Try it in the sandbox

Test payments are free and no real money moves.