PaysafeCash
Payment flow
The PaysafeCash payment flow contains the following steps:
- You initiate a payment request.
- You redirect your customer to the URL received in the response to your payment request. The system generates a barcode used to complete a payment.
- Your customer gets the payment barcode and completes the payment in the nearest payment point.
- You get a webhook notification about a payment status, if you send
notification_url
in the payment request.
This alternative payment method supports the following operations:
Payment
Request
Send a payment request with the following additional data:
Parameter | Type | Description |
---|---|---|
method | object | A section of the payment method parameters. |
type * required |
string | paysafe_cash |
customer | object | A section of the customer's details. |
email * required |
string | The customer's email address. |
country * required |
string | The customer's country. |
Response
The payment response additionally contains the paysafe_cash
section with the name of the payment method, as well as the form
section with the URL of a page with the bar-code. Redirect your customer to the URL received as a value of the form.action
parameter.
Info
The URL received in the response to the payment request is valid for 30 minutes only. The payment barcode expires in 72 hours after the customer gets it.
Payment status query
To check a status of the payment, send a transaction status query.