Paysafecard
ID: paysafecard-trustpayments | Provider: TrustPayments | Region: International
Overview
Prepaid voucher system. The customer is redirected to Paysafecard and enters their 16-digit PIN purchased at a retail location.
paymentMethod Fields
| Field | Required | Description |
|---|---|---|
id |
yes | Must be paysafecard-trustpayments |
minAgeRestriction |
no | Minimum customer age enforced by Paysafecard (positive integer) |
countryRestriction |
no | ISO 3166-1 alpha-2 country code the customer must be in |
kycLevelRestriction |
no | KYC level enforced by the provider. Defaults to SIMPLE. |
No extra customer fields are required beyond customer.id.
Request Example
{
"paymentMethod": {
"id": "paysafecard-trustpayments",
"minAgeRestriction": 18,
"countryRestriction": "PT"
},
"reference": "ORDER-12345",
"customer": {
"id": "cust_abc123",
"email": "customer@example.com"
},
"amount": "25.00",
"currency": "EUR",
"returnLinks": {
"default": "https://yourproduct.com/return"
}
}
Response Action
{
"type": "redirect",
"method": "GET",
"url": "https://customer.paysafecard.com/pay/...",
"expiresAt": "2025-11-18T15:30:00.000+00:00"
}
Status Flow
requires_action- redirect the customer toaction.url.processing- TrustPayments is confirming the voucher.succeeded- payment captured. Fulfill the order.failed/canceled- the voucher was invalid, rejected, or the redirect expired.