Skip to main content
Version: 3.2

2. Refund

POST 

/api/v3/remote-pos/{source_pid}/remote-action/refund

Creates a REFUND remote-action which will be retrieved and processed by the target terminal.

Parameters:​

Same as the purchase.

ParameterTypeRequiredDescriptionExample
sourcePidstringyesObtained on the portal — unique Hexa ID identifying the POS200010001001
targetPidstringyesUnique Hexa identifier (target) which will receive the actionterm_01
amountinteger (cents)yesAmount in cents (1 = 0.01€)100 (1.00€)
shouldPrintReceiptinteger (0 / 1)yes1 = print, 0 = no print
webhookstring (URL)noCallback URL invoked after processinghttps://webhook.site
allowedPaymentMethodIdsarraynoAllow specific payment methods (cards (30), giftcard (20))[30, 20]

Request​

Responses​

Example
{
"success": true,
"data": {
"id": 23,
"uuid": "49b55f65-dc16-48a1-a906-0b23cfdbd211",
"sourcePid": "210200010003",
"targetPid": "200200010003",
"groupId": 843,
"groupName": "Shop - Group 2",
"remoteActionStatusId": 100,
"remoteActionStatus": "Pending",
"remoteActionStatusAt": "2026-02-11T07:41:27.000000Z",
"remoteActionTypeId": 20,
"remoteActionType": "REFUND",
"updatedAt": "2026-02-11T07:41:27.000000Z",
"createdAt": "2026-02-11T07:41:27.000000Z",
"webHook": "http://localhost:2010/testhook",
"linkedObjectType": null,
"linkedObjectId": null,
"details": {
"requestedAmount": 1,
"paidAmount": null,
"shouldPrintReceipt": 0,
"allowedPaymentMethodIds": null,
"orderUuid": null,
"operations": null
}
}
}