Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GivePayments

Configure GivePayments card payments with Hyperswitch.

GivePayments processes credit and debit card payments through Hyperswitch, with automatic capture, refunds, and card-on-file repeat payments. 3DS is not supported. GivePayments is listed in the Hyperswitch control center.

To connect GivePayments to your Hyperswitch account, follow Activate a connector on Hyperswitch, then return here for what GivePayments supports and how a payment moves.

Status and capabilities

Integration status: alpha

Category: payment gateway

Webhook flows: None declared in code

Payment method
Type
Mandates
Refunds
Capture methods
3DS
Card networks
Countries
Currencies

card

Credit Card

supported

supported

automatic

not supported

American Express, Diners Club, Discover, JCB, Mastercard, UnionPay, Visa

-

-

card

Debit Card

supported

supported

automatic

not supported

American Express, Diners Club, Discover, JCB, Mastercard, UnionPay, Visa

-

-

GivePayments runs through the Unified Connector Service (ucs_only_connectors).

The table reflects the declaration (GIVEPAYMENTS_SUPPORTED_PAYMENT_METHODS). The service implements authorize, repeat payment, payment sync, refund and refund sync (flows). Capture is not supported and void is not implemented, so every payment is captured automatically and cannot be cancelled through Hyperswitch (flow status).

"Mandates: supported" in the table means card on file. When GivePayments returns a payment-method token with an authorization, the service stores it as the connector mandate id (paymethod_token), and a repeat payment sends that token instead of card data (RepeatPayment, connector_mandate_id). A standalone mandate setup is not implemented (flow status), so establish the mandate on a real payment.

Authentication

Supply the API Key, the label from [givepayments.connector_auth.HeaderKey]. The service sends it as a bearer token in the Authorization header (get_auth_header).

If you take webhooks, also set Source verification key ([givepayments.connector_webhook_details]) to the webhook signing secret from GivePayments. It is the HMAC key callbacks are checked against, not an authentication credential.

Before you start

Create or sign in to your GivePayments account and obtain the API Key and, if you take webhooks, the webhook signing secret. GivePayments appears in the control center connector list (connectorList). The connector is in alpha, so confirm availability with the Hyperswitch team, then follow Activate a connector on Hyperswitch.

Payment flow

Authorize creates the payment at /payments and GivePayments captures it (Authorize). The payment's processing_state sets the Hyperswitch status: created and authorized are pending, captured and settled are charged, failed and declined are failures, and voided is voided (GivepaymentsPaymentProcessingState). A sync reads /payments/{id} and applies the same mapping (PSync). A refund sync maps created and pending to pending, approved and settled to success, and failed, declined and canceled to failure (RSync, GivepaymentsRefundProcessingState).

Webhooks

Callbacks are verified with HMAC-SHA256 over the raw request body, keyed on your Source verification key. The signature arrives base64-encoded in the gp-webhook-signature header (signature, message, verify_webhook_source). A callback that arrives when no key is configured fails verification. Verification is not mandatory for this connector (default), so Hyperswitch still accepts an unverified callback, but it sets the content aside and syncs with GivePayments instead, under the unverified-webhook rate limit (unverified webhook handling). A verified callback is applied directly (verified callback handling).

The event name selects the event, and the status comes from the payload's processing_state, not from the name (get_event_type, process_payment_webhook, process_refund_webhook). The callback is matched by GivePayments' payment or refund id, with your reference as the merchant-side id (get_webhook_event_reference). A payment callback that carries a payment-method token also records it as the connector mandate id.

Wire value
Effect

payment.created, payment.authorized

Payment processing

payment.captured, payment.settled

Payment charged

payment.failed, payment.declined

Payment fails

payment.voided

Payment cancelled

refund.created, refund.pending

Refund processing

refund.approved, refund.settled

Refund succeeds

refund.failed, refund.declined, refund.canceled

Refund fails

The wire values are the serde names on GivepaymentsWebhookEventType; their effects come from the event mapping. An event name the service does not know maps to an unspecified event and is ignored.

Source reference

The capability declaration, credential labels and the Hyperswitch-side webhook handling on this page are tied to Hyperswitch f237029208a1812aa27281dc9ee5f69fa8c89f84. Flow, authentication and webhook behavior is tied to the Unified Connector Service implementation at hyperswitch-prism b8993a3a58f586a3ec5b8e350731dae7e632d89b: see GivePayments service source and GivePayments transformers.

Last updated

Was this helpful?