Working with an AI agent? It does steps 1-3 for you - all it needs is the API key and the
partnerId; it asks for the shop name and the remaining fields itself. See Building with AI agents.1. Create a product
A product represents your store in the Paymove system. All payments and subproducts are created within this product. Example product creation request:2. Register a webhook
A webhook is a URL on your side that Paymove calls on every transaction status change - both payments and refunds. This way you don’t need to manually check the status - orders can be fulfilled automatically. Example webhook registration request:To receive the full default payment payload, omit
requestTemplate or send "requestTemplate": null (JSON null, without quotes around the value). An empty object {} also means no template. Do not send "requestTemplate": "null", an empty string, or a JSON-encoded template string; a custom template must be a JSON object.How the webhook works
TheTRANSACTION webhook sends a notification on every terminal transaction status change - for both payments and refunds. The type field in the payload tells you whether the notification is about a payment (PAYMENT) or a refund (REFUND).
Transaction statuses in Paymove:
A refund arrives as a separate notification with
"type": "REFUND" and its own status. The parentOrderId field on a refund points to the payment it reverses.Webhook payload
The payload shape depends on whether you set arequestTemplate.
Without a requestTemplate (an omitted field, JSON null, or an empty object {}) Paymove sends the full default payment payload. Empty fields are omitted, so a given notification may carry fewer of them:
requestTemplate the payload is exactly what your template renders - nothing more, nothing less. For the template in step 2 you receive:
Values substituted into a text template arrive as strings -
"amountMinor": "{{amountMinor}}" yields "1050", not 1050. A variable with no value renders as empty text.Querying the transaction status
The webhook is the primary notification channel, but you can also query the status of any transaction directly. This is useful when the customer returns toreturnUrl before the webhook arrives, or as an additional reconciliation mechanism.
403 if the transaction does not exist or belongs to another partner - the same pattern as the refund API.
Delivery guarantees
Webhook delivery is at-least-once - the same notification may arrive more than once. Delivery order is not guaranteed - two notifications about different statuses can arrive in reverse order. Reconcile state on your side using the tuple(type, orderId, status, updatedAt). Fulfil orders idempotently, keyed on externalId - a redelivered notification must never result in shipping the goods twice.
Signature verification
Every webhook request carries anX-Paymove-Signature header. Verify it before trusting the payload - without verification, anyone who knows your URL can impersonate Paymove and have an order fulfilled without paying.
Ready-to-copy code for Node.js, Python and Java: Webhook signature verification.
Required response
Your server must respond with an HTTP status equal toexpectedCode. The customary body to return alongside it is:
The response body is never inspected.
expectedResponse is stored on the webhook and echoed back by the API, but it is never compared against what your server returns - any body will do.retries specifies - 0 by default, meaning not at all. With retries set, the next attempts follow after 1 s, 5 s, 5 min, 1 h, and then every 3 h.
Paymove applies no timeout to webhook calls. Respond immediately and do the actual order processing asynchronously - otherwise a slow endpoint blocks processing.
3. Assign webhook to product
After creating a product and registering a webhook, you need to link them together. This way every transaction event related to this product is automatically sent to the specified webhook URL. Example request:4. Creating payments
After configuring the product and webhook, you can start creating payments. Choose your integration method:SDK
Node.js package - initialize the client and call
createPayment.REST API
Direct HTTP calls - works with any language.
PAYMENT webhook (deprecated)
ThePAYMENT webhook fires only for payments - it does not cover refunds. Registration is identical to step 2, with one difference: "type": "PAYMENT".
Example registration request:
PAYMENT payload
Without arequestTemplate Paymove sends the full payment object:
requestTemplate the payload is exactly what your template renders:
PAYMENT template variables
The
REFUNDED status is not sent by either webhook type. In TRANSACTION, a refund arrives as a separate notification with "type": "REFUND".Migrating from PAYMENT to TRANSACTION
TheTRANSACTION webhook replaces PAYMENT. Every key from the PAYMENT payload exists in TRANSACTION under the same name, so an existing Handlebars template (requestTemplate) carries over unchanged - all you need is to register a new webhook with "type": "TRANSACTION".
Step by step
- Register a new webhook with
"type": "TRANSACTION"and the same endpoint (or a separate test one). - Assign it to the same product. A product can have both a
PAYMENTand aTRANSACTIONwebhook at the same time - both will fire. - Compare the payloads.
TRANSACTIONsends the same data but with additional fields (type,amountMinor,serviceFee,currency,parentOrderId,comment,createdAt,updatedAt). - Once your server correctly handles
TRANSACTION, delete the oldPAYMENTwebhook.