HitPay
Payments in Southeast Asia: charges, invoices and subscriptions
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Business API keySecretRequired
- EnvironmentOptionalIdentifier2 choices
Where to find them
- In the HitPay dashboard open “Settings” → “Payment Gateway” → “API Keys”.
- Copy the business API key (the sandbox one is separate). With a wrong key, HitPay responds 404.
Tools (1)
HitPay API request
HITPAY_SEND_REQUESTAuthenticated call to the HitPay API (https://{server}/v1). Any endpoint of the API is allowed. Examples: GET /payment-requests, POST /payment-requests {"amount": "10.00", "currency": "SGD", "email": "…", "redirect_url": "https://…"}, GET /payment-requests/{id}, GET /charges, POST /recurring-billing {…}.
Required scopes
No scopes required
Input
HitPay API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

