Skip to main content
The basic integration scenario consists of two steps. You create the product once, then for each payment - no matter what it is for - you create a subproduct. The response contains a QR code with a link that redirects the payer to the payment page. All requests are authorized with an API key passed in the X-API-KEY header.
Examples use the sandbox environment: https://gateway-api.sandbox.paymove.io.

Step 1: Create a product

The product represents your business in the Paymove system and is the container for subproducts (individual payments). You create it only once, at the start of the integration.
Response (200):
The id field in the response is the product identifier (productId) you will use in step 2. A subproduct represents a single payment for anything - a consultation, a booking, a membership fee, a repair, a phone order. In the URL, replace the product identifier (productId) received in step 1. In the details field you pass arbitrary key-value pairs describing what the payment is for - they are displayed to the payer on the payment page.
The values from details are displayed to the payer on the payment page - the key is the label and the value is the presented text. The payment can be for anything: describe it so the payer knows what they are paying for (e.g. “Payment title”, “Paying for”, “Recipient”).
The response (200) is the binary content of an image with the QR code in the format specified in imageFormat (SVG or PNG), returned with the Content-Type: application/octet-stream header. This is not JSON - save the response body directly to a file, e.g.:
The image is a ready-to-use banner with a QR code redirecting to the payment (for png e.g. 300x780 px). Send it by e-mail or SMS, put it on a printout or display it on a screen - after scanning (or clicking the link) the payer goes straight to paying the amount due.

What’s next?

DocPay: webhooks

Add a webhook and receive automatic notifications about every completed payment.

REST API

Full PAY API endpoint reference: pricing, forms, UI customization and webhooks.