Skip to main content
The basic DocPay integration scenario has two steps. The product is created once, then for each individual payment (e.g. a payment request) you create a subproduct. The response contains a QR code redirecting the customer to the payment page. All requests are authorized with an API key sent in the X-API-KEY header.
Examples use the sandbox environment: https://gateway-api.sandbox.paymove.io.

Step 1: Create product

The product represents your service in the Paymove system and is a container for subproducts. You create it only once, when starting the integration.
Response (200):
The id field in the response is the product identifier (productId), which you will use in step 2.

Step 2: Create subproduct

A subproduct represents a single payment - e.g. one payment request. Replace the product identifier (productId) in the URL with the one received in step 1.
Values from details are displayed to the user on the payment page - the key is the label, the value is the presented text.

Response: QR code

The response (200) is the binary image content with the QR code in the format set by imageFormat (SVG or PNG), returned with the Content-Type: application/octet-stream header. It is not JSON - save the response body directly to a file, e.g.:
The image is a print-ready banner with a QR code redirecting to payment (for png e.g. 300x780 px). Place it e.g. on a payment request - after scanning, the customer goes directly to pay for the document.

What’s next?

REST API

Full endpoint reference: pricing, forms, UI customization and webhooks (payment notifications).