HyperPG
Configure HyperPG card payments with Hyperswitch.
HyperPG processes credit and debit card payments through Hyperswitch, with automatic capture, refunds and optional 3DS. Mandates are not supported. HyperPG is not offered in the Hyperswitch control center, so you set it up through the API.
To connect HyperPG to your Hyperswitch account, create the connector account as described under Before you start, then return here for what HyperPG supports and how a payment moves.
Status and capabilities
Integration status: live
Category: payment gateway
Webhook flows: None declared in code
card
Credit Card
supported
supported
automatic
supported, optional
American Express, Cartes Bancaires, Diners Club, Discover, Interac, JCB, Maestro, Mastercard, UnionPay, Visa
-
EUR, GBP, INR, USD
card
Debit Card
supported
supported
automatic
supported, optional
American Express, Cartes Bancaires, Diners Club, Discover, Interac, JCB, Maestro, Mastercard, UnionPay, Visa
-
EUR, GBP, INR, USD
HyperPG runs through the Unified Connector Service (ucs_only_connectors).
The table reflects the declaration (HYPERPG_SUPPORTED_PAYMENT_METHODS). The service implements authorize, payment sync, refund and refund sync (flows). Capture, void, mandate setup and repeat payments are not implemented (flow status), so every payment is captured automatically and cannot be cancelled through Hyperswitch.
The table marks mandates as supported, but the service cannot set one up, run a repeat payment, or return a mandate reference (flow status, mandate_reference). Treat mandates and recurring payments as not supported through HyperPG.
Authentication
HyperPG needs three values: a username, a password and a merchant id. The connector form only defines Username and Password ([hyperpg.connector_auth.BodyKey]), and the service rejects an account that carries no merchant id (auth mapping). Create the account through the API with auth_type set to SignatureKey: api_key is the username, key1 the password and api_secret the merchant id (HyperpgAuthType).
The service sends the username as HTTP Basic authentication with an empty password, and the merchant id in the X-Merchant-Id header as well as in the request body (build_headers). The password is stored but not used by any request.
Before you start
Create or sign in to your HyperPG account and obtain the username, password and merchant id. HyperPG is not in the control center connector list (connectorList), so there is no activation form: create the connector account through the connector-account API with the three values above.
Payment flow
Authorize posts the card to /txns (Authorize). When HyperPG returns an authentication link, Hyperswitch redirects the customer to it and the payment is requires_customer_action until they return; otherwise the response status applies directly (redirect). HyperPG's charged status maps to charged; new, authorizing, pending and pending-VBV to pending; failed, authorization-failed and authentication-failed to the matching failures; and cancelled to voided (HyperpgPaymentStatus).
A sync reads /orders/{order_id} using the order id the authorize response returned (PSync). A refund posts to /orders/{order_id}/refunds (Refund), and refund sync maps HyperPG's pending, success and failed to the same Hyperswitch states (RSync, HyperpgRefundStatus).
Webhooks
HyperPG webhooks are not supported. The service's webhook handler is empty (IncomingWebhook for Hyperpg), so a callback is answered with the trait default, WebhooksNotImplemented (default). Use payment sync and refund sync for status.
Source reference
The capability declaration and credential labels on this page are tied to Hyperswitch 01365da86035c7bb6ebe99126443248d811cbcaf. Flow, authentication and webhook behavior is tied to the Unified Connector Service implementation at hyperswitch-prism 6a4b09bf2551defe9f8b315f206d12dcea0abe24: see HyperPG service source and HyperPG transformers.
Last updated
Was this helpful?

