TrustPay
Accept card, network token, bank redirect, bank transfer, and wallet payments through TrustPay.
TrustPay is a payment gateway for cards, network tokens, bank redirects, bank transfers, and digital wallets. Every declared method supports refunds and does not support mandates. Cards run without 3DS, while network tokens support optional 3DS. Webhooks cover payment, refund, and dispute updates.
Status and capabilities
Integration status: live
Category: payment gateway
Webhook flows: disputes, payments, refunds
bank redirect
BLIK
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
bank redirect
EPS
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
bank redirect
Giropay
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
bank redirect
iDEAL
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
bank redirect
Sofort
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
bank transfer
Instant Bank Transfer
not supported
supported
automatic, sequential automatic
not applicable
-
AUT, CZE, DEU, GBR, ITA, SVK
CZK, EUR, GBP
bank transfer
Instant Bank Transfer Finland
not supported
supported
automatic, sequential automatic
not applicable
-
FIN
EUR
bank transfer
Instant Bank Transfer Poland
not supported
supported
automatic, sequential automatic
not applicable
-
POL
PLN
bank transfer
SEPA Bank Transfer
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
card
Credit Card
not supported
supported
automatic, sequential automatic
not supported
American Express, Cartes Bancaires, Diners Club, Discover, Interac, JCB, Mastercard, UnionPay, Visa
-
-
card
Debit Card
not supported
supported
automatic, sequential automatic
not supported
American Express, Cartes Bancaires, Diners Club, Discover, Interac, JCB, Mastercard, UnionPay, Visa
-
-
network token
Network Token
not supported
supported
automatic, sequential automatic
supported, optional
American Express, Cartes Bancaires, Diners Club, Discover, Interac, JCB, Mastercard, UnionPay, Visa
-
-
wallet
Apple Pay
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
wallet
Google Pay
not supported
supported
automatic, sequential automatic
not applicable
-
-
-
Authentication
Supply an API Key, Project ID, and Secret Key in the connector configuration. Card and wallet requests send X-API-Key: <API key>. Bank redirect and bank transfer flows first send Authorization: Basic <base64 project ID and secret key> to obtain an access token, then send Authorization: Bearer <access token> on payment requests. See TrustpayAuthType::try_from(), build_headers(), and RefreshTokenType::get_headers().
Before you start
Register with TrustPay at trustpay.eu.
Create or sign in to your account in the Hyperswitch control center.
Find the API Key, Project ID, and Secret Key in your TrustPay dashboard.
Enable the same payment methods in TrustPay that you plan to select in Hyperswitch.
Have the credentials listed in Authentication ready.
To connect TrustPay to your Hyperswitch account, follow Activate a connector on Hyperswitch, then return here for what TrustPay supports.
Webhooks
Configure a webhook merchant secret in Hyperswitch; the shared webhook verifier uses that value as the signature key. See verify_webhook_source(). TrustPay webhooks use HMAC-SHA256 verification: Hyperswitch decodes the hex signature in the webhook body, removes that field, sorts the remaining values, and joins them with / before verification. See get_webhook_source_verification_algorithm().
The connector handles six status and credit/debit-indicator combinations. An empty body is treated as endpoint verification.
creditDebitIndicator
status
Effect in Hyperswitch
CRDT
Paid
Payment is marked successful
CRDT
Rejected
Payment is marked failed
DBIT
Paid
Refund is marked successful
DBIT
Refunded
Refund is marked successful
DBIT
Rejected
Refund is marked failed
DBIT
Chargebacked
Dispute is marked lost
The wire values and mappings are defined by get_webhook_event_type() and CreditDebitIndicator.
Source reference
TrustPay connector implementation and TrustPay data mappings
Last updated
Was this helpful?

