Get Payment Channels

Gets the list of banks your customer can pay with, and your charges.

When to use: before payment, to show the customer a list of banks to choose from.

What you get back

  • payment_method: Online Banking (personal account) or Corporate Banking (company account).
  • charges: the fee for each payment, as a fixed amount (RM) and/or a percentage.
  • channels: the banks. Each bank has:
    • prefix: the bank code. You need it for Initiate Payment.
    • name and img_url: bank name and logo to show the customer.
    • active: Active means the bank is working. Hide banks that show Inactive.

Tip: a bank can go offline at any time, so get a fresh list each time you show it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Headers
string

Your team's Secret Key (Herepay dashboard → Settings → API).

string

Your team's API Key (Herepay dashboard → Settings → API).

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json