Skip to main content
Version: 3.2

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:​

ParameterTypeRequiredDescriptionExample
sourcePidstringyesObtained on the portal — unique Hexa ID identifying the POS21001000A001
targetPidstringyesUnique Hexa identifier (target) which will receive the action2002000A0003
shouldPrintReceiptinteger (0 / 1)yes1 = print, 0 = no print
webhookstring (URL)noCallback URL invoked after processinghttps://example.com/webhook

Request​

Responses​

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
}
}
}