Get Transactions

Shows your 10 most recent payments and their status.

When to use: for a quick look at recent payments. To check one order, use Get Transaction by Payment Code.

What you get back (for each payment)

  • payment_code: your order number
  • reference_code: Herepay's invoice number
  • status / status_code: Success (00), Pending (29) or Failed (30)
  • amount: amount in RM
  • transaction_id: FPX transaction number
  • message: note from the bank, e.g. Approved
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