Skip to main content
PAY API (DocPay) endpoint reference: product, subproduct and QR codes, pricing, forms, UI customization and webhooks. The basic integration scenario (product + subproduct) is described in the Tutorial.

1. Product

The product represents your service in the Paymove system and is the root of the whole model - subproducts, pricing, forms, customizations, and webhooks are attached to a specific product. You create the product once.

Endpoints – Product

Create product

Response (200):
The id field is the product identifier (productId) used in the other endpoints.

Update product

You can send only the fields to change; other relations (pricing, forms, webhooks) remain unchanged.

2. Subproduct and QR codes

A subproduct represents a single payment (e.g. payment request, ticket) linked to an external identifier (externalId). The response contains a QR code generated in the chosen format (PNG/SVG). After scanning, the user is taken to payment for that subproduct.

Input fields

Endpoint – Subproduct

Register subproduct

The response (200) is the binary image content with the QR code in the format set by imageFormat (Content-Type: application/octet-stream) - save the response body directly to a file. The image is a print-ready banner with a QR code redirecting to payment for this subproduct.

3. Pricing

Pricing defines payment options available to the customer - e.g. “1 hour”, “full day”, “weekend ticket”. Each entry is a separate purchase option shown on the product page.

Pricing entry fields

Endpoints – Pricing

Create pricing entry

Update pricing entry

Changes are immediately visible to customers selecting that option.

4. Forms

Forms collect data required for purchase - e.g. email, license plate, contact details. Forms are versioned; each change (add/edit/remove field) creates a new version. The current version is marked with isCurrent.

Form field (Field) properties

Endpoints – Forms

Endpoints – Fields

Create form

Add field (e.g. email)

This automatically creates a new form version; the previous one is no longer current (isCurrent).

5. UI customization

Customization controls the look and copy of the product checkout page. All text (titles, buttons, descriptions) is configured via API - the frontend is fully driven by the partner without code changes.

Customization parameters - what they modify

You can have multiple customizations per product with different locale; the system picks the right one by user or context.

Endpoints – Customization

Create customization

Update customization

You can send only the fields you want to change, e.g.:
Changes are immediately reflected on the product checkout page.

6. Webhooks

Webhooks automatically notify the partner of completed payments or fetch pricing from an external system. After registering a webhook, assign it to a product - then events for that product are sent to your endpoint.

Webhook configuration fields

Endpoints – Webhooks

Create webhook

Response (200): the webhook object with an assigned id (webhook identifier) and a signingSecret field:
The signingSecret is used to verify the signature of requests coming from Paymove. Store it securely.
After creating, call POST /api/pay/plugin/webhook/{webhookId}/products/{productId} to link the webhook to the product (response: the webhook object). From then on, events (e.g. successful payment) for that product are sent to your endpoint.