redirectUrl.
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. You will receive your API key and partnerId from Paymove.Step 1: Create product (shop)
The product represents your shop in the Paymove system - all payments are created within it. You create it only once, when starting the integration.id field in the response is the productId - your shop identifier used in the next steps.
Step 2: Configure webhook
The webhook notifies your system about a completed payment. First register it, then assign it to the product. InrequestTemplate you can use the variables {{externalId}} (your orderId) and {{price}} (amount) - Paymove substitutes them when sending.
id (webhookId) and a signingSecret field:
webhookId and productId):
Step 3: Create payment
For each order, create a payment within the product. ReplaceproductId in the URL with the one from step 1.
Response (200):
The
externalId query parameter inside redirectUrl (here ec6RtwTZKb) is a 10-character payment hash generated by Paymove, not your own externalId (order-123). Store it - it is the value you use when checking the payment status.Step 4: Redirect the customer
Redirect the customer to the returnedredirectUrl:
- Paymove sends a webhook to your
endpoint- by default only for theCOMPLETEDstatus. - Your system verifies the
X-Paymove-Signatureheader (how to do it), responds with200and{ "status": "ok" }, then fulfills the order. - The customer sees the confirmation screen and can head back to the shop at
returnUrl.
What’s next?
Payment Gateway: webhooks
Extend your integration with webhooks and react to every paid transaction.
JavaScript SDK
Ready-made client for Node.js integration.