Skip to main content

Process a Refund

Use refunds to return money to a customer after a sale has been settled. Refunds work on transactions that have already cleared.


Prerequisites​

  • Understand EPOS communication
  • A paired terminal with a valid auth token
  • Terminal IP address and serial number

Steps​

  1. Send a refund request:
curl --location 'https://{IP}:{PORT}/payntpos/1.0.0/transaction?tid={TID}&disablePrinting=false' \
--header 'Content-Type: application/json' \
--header 'Authorization: {AUTH_TOKEN}' \
--data '{
"transType": "REFUND",
"reference": "refund-456",
"amountTrans": 500
}'
  1. The terminal displays the refund screen.
  2. The customer presents their card to receive the refund.
  3. The response returns a UTI:
{
"transType": "REFUND",
"amountTrans": 500,
"uti": "f4df73e4-7400-3c78-99c0-52236c90479a"
}

The UTI is an alphanumeric string consisting of 1-64 characters. Special characters are not allowed. For example, 000000000001, 000000000002, 000000000003. Each UTI must be a unique value. The UTI can be re-used only when the previous one expires, which currently happens after 3 months, though this is subject to change.``

  1. Check the transaction status using the UTI.

Request Parameters​

FieldTypeRequiredDescription
transTypestringYesSet to REFUND
amountTransintegerYesAmount to refund in cents
referencestringNoYour reference ID for tracking. The reference ID is an alphanumeric string consisting of 1-36 characters, Special characters are not allowed. Usually shown in 5 groups separated by hyphens, for example, gr3d4fae-9dec-11d0-a763-00a0c91e6bf1

Full vs Partial Refunds​

TypeDescriptionExample
Full refundReturn the entire transaction amountSale €50, refund €50
Partial refundReturn a portion of the amountSale €50, refund €20

You can issue multiple partial refunds against the same original sale.


Refund vs Void​

Use Refund WhenUse Void When
Transaction has settledTransaction is still unsettled
Next day or laterSame day, before settlement
Customer may not have cardCancelling immediately

Settlement occurs daily at 01:00 UK time (winter) or 02:00 UK time (summer).


Important Notes​

  • Refunds require the customer to present their card.
  • The refund is credited back to the original payment method.
  • Processing time depends on the card issuer (typically 3-5 business days).