10. Closing
POST/api/v3/remote-pos/{source_pid}/remote-action/closing
Closing will close a session on the paypuce terminal. It will synchronize all orders to the back-office and trigger a novelpay reconciliation.
Parameters:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| sourcePid | string | yes | Obtained on the portal — unique Hexa ID identifying the POS | 21001000A001 |
| targetPid | string | yes | Unique Hexa identifier (target) which will receive the action | 2002000A0003 |
| shouldPrintReceipt | integer (0 / 1) | yes | 1 = print, 0 = no print | |
| webhook | string (URL) | no | Callback URL invoked after processing | https://example.com/webhook |
Request
Responses
- 201
Example
{
"success": true,
"data": {
"id": 10,
"uuid": "59eeabb7-948e-46bd-ae89-68cf8a667e19",
"sourcePid": "210200010003",
"targetPid": "200200010003",
"groupId": 843,
"groupName": "Shop - Group 2",
"remoteActionStatusId": 100,
"remoteActionStatus": "Pending",
"remoteActionStatusAt": "2026-02-10T08:47:14.000000Z",
"remoteActionTypeId": 60,
"remoteActionType": "CLOSING",
"updatedAt": "2026-02-10T08:47:14.000000Z",
"createdAt": "2026-02-10T08:47:13.000000Z",
"webHook": "http://localhost:2010/testhook",
"linkedObjectType": null,
"linkedObjectId": null,
"linkedObject": null,
"details": {
"shouldPrintReceipt": 0
}
}
}