SafetyPay Payment Response
PAYMENTUnique payment identifier.
pay_1100000000_v2Pa0tDn0tr1CpvkSQoyjY77eV005P1_USDPayment creation timestamp.
1607074107062Payment update timestamp.
1607074107062USDINITIATEDPAYSAFECARDredirect object
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/GetCustomerPanelServletcustomer object
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.
MXrestrictions 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"]1https://notification.example.com/payment{
"object": "PAYMENT",
"id": "pay_1100000000_v2Pa0tDn0tr1CpvkSQoyjY77eV005P1_USD",
"created": 1607074107062,
"updated": 1607074107062,
"currency": "USD",
"status": "INITIATED",
"type": "PAYSAFECARD",
"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"
},
"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"
},
"restrictions": {
"payment_instrument": "safetypay",
"payment_instrument_subtype": "online",
"bank_ids": [
"8439",
"8382"
]
},
"amount": 1,
"notification_url": "https://notification.example.com/payment"
}