PaysafeCash Payment Response
objectstringrequired
Type of returned object.
Possible values: [PAYMENT]
Example:
PAYMENTidstringrequired
Unique payment identifier.
Example:
pay_1090001806_7k9XywR0fAbd9FADzAFBsVCabjUAPh96_EURcreatedinteger<int64>required
Payment creation timestamp in milliseconds.
Example:
1548677808372updatedinteger<int64>
Payment update timestamp in milliseconds.
Example:
1548677808372amountnumber<double>
Payment amount.
Example:
9.99currencystringrequired
Payment currency.
Possible values: >= 3 characters and <= 3 characters, Value must match regular expression ^[A-Z]{3}$
Example:
EURstatusstringrequired
Current payment status.
Example:
INITIATEDtypestringrequired
Product type.
Possible values: [PAYSAFECARD]
Example:
PAYSAFECARDredirect objectrequired
success_urlstring<uri>required
URL used after successful payment completion.
Example:
https://ok.com/{payment_id}failure_urlstring<uri>required
URL used after failed or cancelled payment completion.
Example:
https://nok.com/{payment_id}auth_urlstring<uri>
URL to which the customer is redirected for authorization.
Example:
https://customer.test.at.paysafecard.com/rest/payment/panelcustomer objectrequired
idstringrequired
Unique customer identifier provided by the merchant.
Example:
merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomationsubmerchant_idstring
Sub-merchant identifier.
Example:
1PaysafeCash Payment Response
{
"object": "PAYMENT",
"id": "pay_1090001806_7k9XywR0fAbd9FADzAFBsVCabjUAPh96_EUR",
"created": 1548677808372,
"updated": 1548677808372,
"amount": 9.99,
"currency": "EUR",
"status": "INITIATED",
"type": "PAYSAFECARD",
"redirect": {
"success_url": "https://ok.com/{payment_id}",
"failure_url": "https://nok.com/{payment_id}",
"auth_url": "https://customer.test.at.paysafecard.com/rest/payment/panel"
},
"customer": {
"id": "merchantclientid5HzDvoZSodKDJ7X7VQKrtestAutomation"
},
"submerchant_id": "1"
}