Search Overlay

Paysafecash

Prefilling Consumer Details

It is possible for a merchant to send some of the consumer's data to Paysafecash so that the consumer registration form at Paysafecash is prefilled. This will streamline the registration process for the consumer.

If you want to use this feature, you must clearly indicate on your e-commerce site that the consumer's data will be shared with Paysafecash.

To send consumer data to Paysafecash, you must include the billingDetails and profile objects in your Authorized Payment request, as shown in the following example. You can include some or all of the parameters included in the example.

{
"merchantRefNum": "P1234",
"dupCheck": true,
"amount": 100,
"settleWithAuth": false,
"currencyCode": "EUR",
"profile": {
"title": "Mr",
"firstName": "Stan",
"lastName": "Smith",
"email": "stan.smith@fox.com",
"dateOfBirth": {
"day": "31",
"month": "10",
"year": "1995"
},
"phone": "0377 45678"
},
"billingDetails": {
"street1": "Pazmaniteng 24-9",
"city": "Vienna",
"country": "AT",
"zip": "A-1020"
},
"returnLinks": [{
"rel": "default",
"href": "https://mysite.com/return"
}],
"paymentType": "PAYSAFECASH",
"paysafecash": {
"consumerId": "merchantclientid",
"minAgeRestriction": 18,
"kycLevelRestriction": "SIMPLE",
"countryRestriction": "AT"
}
}

{
"id": "8541b4be-a3d6-4d07-a15f-f249fe67278f",
"merchantRefNum": "P12345",
"amount": 100,
"currencyCode": "EUR",
"paymentType": "PAYSAFECASH",
"settleWithAuth": false,
"availableToSettle": 0,
"availableToRefund": 0,
"profile": {
"firstName": "Stan",
"lastName": "Smith",
"email": "stan.smith@fox.com",
"dateOfBirth": {
"day": 31,
"month": 10,
"year": 1995
},
"phone": "0377 45678",
"title": "Mr"
},
"billingDetails": {
"street1": "Pazmaniteng 24-9",
"zip": "A-1020",
"city": "Vienna",
"country": "AT"
},
"returnLinks": [
{
"rel": "default",
"href": "https://mysite.com/return"
}
],
"paysafecash": {
"consumerId": "merchantclientid",
"minAgeRestriction": 18,
"kycLevelRestriction": "SIMPLE",
"countryRestriction": "AT"
},
"txnTime": "2018-02-27T16:17:29Z",
"status": "INITIATED",
"gatewayResponse": {
"id": "e2b2fc24-eb11-421c-80fd-7453249f645b",
"processor": "PAYSAFECARD"
},
"links": [
{
"rel": "self",
"href": "https://api.test.paysafe.com/alternatepayments/v1/accounts/1001189530/payments/8541b4be-a3d6-4d07-a15f-f249fe67278f"
},
{
"rel": "redirect_payment",
"href": "https://api.test.paysafe.com/alternatepayments/v1/accounts/1001189530/payments/8541b4be-a3d6-4d07-a15f-f249fe67278f/redirect?token=eyJhbGciOiJIUzI1NiJ9.eyJhY2QiOiIxMDAxMTg5NTMwIiwicHlkIjoiODU0MWI0YmUtYTNkNi00ZDA3LWExNWYtZjI0OWZlNjcyNzhmIiwiZXhwIjoxNTE5NzUwMDQ5fQ.VYKL9BhWZr3AqwlbBCyBtMpBNb8rZWeuxf_SV_7XX3A"
}
]
}

If any billingDetails or profile fields are passed in the Authorized Payment request, Paysafe will store them and relay them to Paysafecash when the merchant redirects the consumer to the payment URL returned in the redirect_payment link. These fields will then be prefilled in the Paysafecash form that is opened for the consumer.

Prefilled Paysafecash Form