PAYCommercial ยท HitPay

HitPay API

Singapore-born payment gateway popular with SMEs: one API for PayNow QR, cards, GrabPay, ShopeePay and more, with no monthly fees. Simple payment-request model that is easier than Stripe for basic use cases.

How to authenticate

5 stops to a working call

  1. 1Sign up for a HitPay business account at hitpayapp.com.
  2. 2In the dashboard go to Settings > Payment Gateway > API Keys and generate keys.
  3. 3Use sandbox (api.sandbox.hit-pay.com) with sandbox keys for testing.
  4. 4Send the key as the X-BUSINESS-API-KEY header on every request.
  5. 5Configure a webhook URL to receive payment confirmations.

Example request

Request
curl -X POST 'https://api.hit-pay.com/v1/payment-requests' -H 'X-BUSINESS-API-KEY: YOUR_KEY' -H 'Content-Type: application/x-www-form-urlencoded' -d 'amount=10.00&currency=SGD&email=buyer@example.com'

Example response

Response (truncated)
{"id":"9f2...","status":"pending","currency":"sgd","amount":"10.00","url":"https://hit-pay.com/payment-request/@..."}

HitPay API: common questions

Is the HitPay API free?

The HitPay API is listed as paid. Check the official HitPay docs for current pricing.

Does the HitPay API need an API key?

Yes. It uses API key. Sign up for a HitPay business account at hitpayapp.com. In the dashboard go to Settings > Payment Gateway > API Keys and generate keys. Use sandbox (api.sandbox.hit-pay.com) with sandbox keys for testing. Send the key as the X-BUSINESS-API-KEY header on every request. Configure a webhook URL to receive payment confirmations.

What is the HitPay API endpoint?

The base URL is https://api.hit-pay.com/v1. A working example: curl -X POST 'https://api.hit-pay.com/v1/payment-requests' -H 'X-BUSINESS-API-KEY: YOUR_KEY' -H 'Content-Type: application/x-www-form-urlencoded' -d 'amount=10.00&currency=SGD&email=buyer@example.com'

Notes for AI agents

The payment-request URL is a hosted checkout page; redirect the customer there. Webhook payloads are form-encoded and HMAC-signed with your salt, not JSON.

Machine-readable version: /api/apis/hitpay

On the same line