Skip to main content

Redirect

success_urlstringrequired

URL to redirect to after successful authorization.

The placeholder {payment_id} in the URL is replaced with the actual ID of this payment.

Example: https://notification.com/{payment_id}
failure_urlstringrequired

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.

Example: https://notification.com/{payment_id}
auth_urlstring<uri>

URL the customer must be redirected to in order to authorize the payment. Returned in the payment response.

Example: https://customer.test.at.paysafecard.com/psccustomer/GetCustomerPanelServlet?mid=1100000000&mtid=pay_1100000000_v2Pa0tDn0tr1CppVkSQ0yjY77eVOO5Pl_USD&amount=1.00&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&currency=USD"
}