SafetyPay Payment Request
Type of product. Must be set to PAYSAFECARD.
Possible values: [PAYSAFECARD]
PAYSAFECARDPayment amount with two decimal places.
Possible values: >= 0.01
2000Three-letter ISO 4217 currency code.
Possible values: >= 3 characters and <= 3 characters
BRLredirect objectrequired
URL used after successful payment authorization.
https://www.paysafecard.com/okURLURL used after unsuccessful or cancelled payment authorization.
https://www.paysafecard.com/nokURLURL to which the customer is redirected for authorization.
https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServletURL contacted after authorization has completed successfully.
If the URL contains a payment ID placeholder, the placeholder is replaced with the actual payment identifier.
https://notification.com/payment_idcustomer objectrequired
Customer identifier on the merchant side.
customer_id2Customer IP address returned with payment details.
***.***.***.***customer_takeover_data object
Customer information used to simplify the payment journey and provide customer account data required for payout processing.
Customer email address.
test@test.comCustomer tax identifier. This can be supplied to prefill the CPF field for transactions in Brazil.
0123059433817717Type of tax identifier.
BRA_CPFDate on which the customer registered with the partner.
This value is mandatory when a deposit is intended to support payouts to the customer.
2018-05-03Customer KYC level with the partner.
This value is mandatory when a deposit is intended to support payouts to the customer.
Possible values: [FULL, SIMPLE]
FULLCountry where the customer registered with the partner.
This value is mandatory when a deposit is intended to support payouts to the customer.
MXReporting criterion used to classify sub-merchants.
The value can contain up to eight alphanumeric characters and must be agreed with PaysafeCard.
Possible values: <= 8 characters
1Identifier of the shop originating the request.
This is commonly used by payment service providers acting as a proxy for multiple payment methods.
shop1restrictions object
Payment restrictions used to initiate a payment for the option selected by the customer at merchant checkout.
Payment instrument selected at merchant checkout.
This parameter is mandatory when
payment_instrument_subtype is supplied.
Possible values: [paysafecard, safetypay]
safetypayPayment instrument subtype selected at merchant checkout.
Possible values: [cash, online]
onlineBank IDs used to restrict the bank options displayed to the customer.
Multiple bank IDs are supported. The source documentation states that no more than 74 characters, equivalent to 14 bank IDs, can be supplied.
Supplying bank_ids without payment_instrument displays the
available payment methods.
Possible values: <= 14
["8439","8382"]{
"type": "PAYSAFECARD",
"amount": 2000,
"currency": "BRL",
"redirect": {
"success_url": "https://www.paysafecard.com/okURL",
"failure_url": "https://www.paysafecard.com/nokURL",
"auth_url": "https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet"
},
"notification_url": "https://notification.com/payment_id",
"customer": {
"id": "customer_id2",
"ip": "***.***.***.***"
},
"customer_takeover_data": {
"email": "test@test.com",
"tax_id": "0123059433817717",
"tax_id_type": "BRA_CPF",
"account_registration_date": "2018-05-03",
"account_KYC_level": "FULL",
"account_registration_country": "MX"
},
"submerchant_id": "1",
"shop_id": "shop1",
"restrictions": {
"payment_instrument": "safetypay",
"payment_instrument_subtype": "online",
"bank_ids": [
"8439",
"8382"
]
}
}