Payment Request
Type of the product, must be set to PAYSAFECARD.
Possible values: [PAYSAFECARD]
PAYSAFECARDPayment amount, precision must be 2 digits after the colon.
The current minimum amount for gift card payments is 0.10 USD
and the current maximum amount is 1000.00 USD.
10ISO 4217 - 3 letter ISO currency code.
Possible values: >= 3 characters and <= 3 characters, Value must match regular expression ^[A-Z]{3}$
USDredirect objectrequired
URL to redirect to after successful authorization.
The placeholder {payment_id} in the URL is replaced with the
actual ID of this payment.
https://notification.com/{payment_id}URL to redirect to after the customer clicked on cancel.
The placeholder {payment_id} in the URL is replaced with the
actual ID of this payment.
https://notification.com/{payment_id}URL the customer must be redirected to in order to authorize the payment. Returned in the payment response.
https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet?mid=1100000000&mtid=pay_1100000000_v2Pa0tDn0tr1CppVkSQ0yjY77eVOO5Pl_USD&amount=1.00¤cy=USDNotification URL paysafecard will contact after the authorization has been successfully completed.
The placeholder {payment_id} in the URL is replaced with the
actual ID of this payment.
https://notification.com/{payment_id}customer objectrequired
Uniquely identifies the customer and is provided by the merchant.
If any personal data, e.g. the customer's user name or email address, is used here, it has to be encrypted or hashed for security reasons.
merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomationValid for my paysafecard payments. Restricts payments to my paysafecard customers only, who are equal to or older than the specified age.
Please note: this means that it is required that the customer has a registered my paysafecard account to make the payment.
18Refers to the KYC level of the customer's my paysafecard account.
Depending on the country, my paysafecard accounts are offered with SIMPLE and/or FULL customer identification.
Possible values: [SIMPLE, FULL]
SIMPLEISO 3166-1 alpha-2 two-letter country code used to restrict payments to residents of a particular country.
Possible values: >= 2 characters and <= 2 characters
ATrestrictions object
The payment restrictions array. Gives the possibility to initiate a payment for the specific option chosen by the customer at the merchant's checkout.
The payment instrument gives the possibility to initiate the payment for the specific option chosen at the checkout page.
Possible values: [paysafecard, giftcard]
giftcardIf giftcard was used for the payment_instrument, the payment
can be initiated for a specific gift card option by defining a
subtype.
Possible values: [cvspharmacy, dollargeneral, openbuckscard]
openbuckscardAlso called "reporting criteria", offers the possibility to classify sub-merchants.
Agreement with paysafecard is needed. Values that have not been agreed lead to a failed payment. Max. 8 digits in alphanumeric code.
Possible values: <= 8 characters
1Identification of the shop which is the originator of the request.
This is most likely used by payment service providers who act as a proxy for other payment methods as well.
shop1{
"type": "PAYSAFECARD",
"amount": 10,
"currency": "USD",
"redirect": {
"success_url": "https://notification.com/{payment_id}",
"failure_url": "https://notification.com/{payment_id}",
"auth_url": "https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet?mid=1100000000&mtid=pay_1100000000_v2Pa0tDn0tr1CppVkSQ0yjY77eVOO5Pl_USD&amount=1.00¤cy=USD"
},
"notification_url": "https://notification.com/{payment_id}",
"customer": {
"id": "merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomation",
"min_age": 18,
"kyc_level": "SIMPLE",
"country_restriction": "AT"
},
"restrictions": {
"payment_instrument": "giftcard",
"payment_instrument_subtype": "openbuckscard"
},
"submerchant_id": "1",
"shop_id": "shop1"
}