How a Payzone Cash payment works
Payzone Cash is a cash voucher payment method:- The customer selects Payzone Cash at checkout.
- Payrails creates a cash reservation with Payzone and returns a redirect URL to a Payrails page that shows the payment code.
- The customer presents the code at a payment point in the Payzone network and pays in cash.
- Payzone notifies Payrails of the payment, and Payrails updates the payment.
Supported currencies and countries
Payzone Cash supports MAD (Moroccan dirham) as its presentment currency.Supported workflows
Before you begin
Complete these steps before you send your first Payzone Cash payment through Payzone:- Set up a Payzone integration in your workspace. Contact your Payrails account team if Payzone isn’t listed in your Payrails Portal yet.
- Ask Payzone for your Payzone Cash account details: the merchant ID, the POS ID, the provider ID, and the four MAC keys.
- In the Payrails Portal, go to Settings → Integrations, open your Payzone integration, and fill in the fields marked Required for Payzone Cash.
- Select Payzone Cash under Payment methods, and save.
- Add Payzone Cash as a payment option in a workflow that uses instant capture.
Request fields for Payzone
Send these fields in the authorize request, in addition to the standard authorize fields. Payrails checks Required fields and returns an error when one is missing or invalid. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a Payzone Cash payment
Call authorize a payment withpayzoneCash as the paymentMethodCode. The response includes the redirect to the page that shows the payment code.
Authorize request
How Payzone handles Payzone Cash
- Payzone sends a callback when the customer pays, and Payrails moves the payment from pending to captured. Payrails can’t query the payment status with Payzone, so the callback is the only source of the result.
- To stop a payment the customer hasn’t paid yet, cancel the payment. Payrails cancels the cash reservation with Payzone, and Payzone confirms a reversal through a callback.
- Payzone can decline amounts below its minimum.