Webhook Refund

This API endpoint allows you to process a refund for a previously authorized or completed payment. By providing the original transaction details, this call will refund the payment by returning the specified amount back to the customer's card.

The refund can be a full or partial.

Json Description:

SectionNameTypeDescriptionRequired / optional
Ticket
idStringThe unique identifier of the ticket.Optional
nameStringThe name of the ticket.Optional
openBooleanIndicates whether the ticket is still open or notOptional
opened_atTimestampThe timestamp at which the ticket was opened.Optional
closed_atTimestampThe timestamp at which the ticket was closed.Optional
ticket_numberIntegerThe ticket number.Optional
totalsOptional
discountsIntegerThe sum total value in cents of all ticket-level discounts.Optional
dueIntegerThe unpaid total in cents of the ticket (total - paid).Optional
exclusive_taxIntegerThe sum total cost in cents of all taxes not included in item or service charge prices on the ticket.Optional
inclusive_taxIntegerThe sum total cost in cents of all taxes included in item or service charge prices on the ticket.Optional
ItemsIntegerThe sum total cost in cents of all items on the ticket.Optional
other_chargesIntegerThe sum total cost in cents of all other charges on the ticket. Other charges are taxed.Optional
paidIntegerThe total amount in cents paid.Optional
service_chargesIntegerThe sum total cost in cents of all service charges on the ticket. Service charges are not taxed.Optional
sub_totalIntegerThe subtotal in cents before tax (items + other_charges - discounts).Optional
taxIntegerThe total tax in cents on the ticket.Optional
tipsIntegerThe total value in cents of applied tips.Optional
totalIntegerThe final amount in cents to be paid (subtotal + service_charges + exclusive_tax).Optional
voidBooleanWhether or not the ticket is voided.Optional
_embeddedArrayOptional
payment
idStringUnique identifier for the payment.Required
amountIntegerThe amount in cents for the payment.Required
webhook_idStringUnique identifier for the webhook.Required
terminal_idStringUnique identifier for the POS terminal.Required
embeddedTypeDescriptionRequired / optional
discountsArray
idStringThe unique identifier of the discount.Optional
commentStringThe comment on the discountOptional
nameStringThe discount name as it appears on the ticket.Optional
valueIntegerThe value of the discount, in cents.Optional
ItemsArray
idStringThe unique identifier of the item.Optional
inclusive_taxIntegerThe tax amount included in the price of the item in cents.Optional
nameStringThe name of the item.Optional
priceIntegerThe full cost of the item in cents, including quantity and all modifiers and discounts.Optional
quantityIntegerThe numerator of the quantity of items on the ticket.Optional
sentBooleanWhether the item has been sent for prep.Optional
sent_atTimestampThe timestamp when the item was sent for prep.Optional
splitIntegerThe denominator of the quantity of items on the ticket.Optional
Item_embeddedArrayOptional
employeeobject
check_nameStringThe name of the employee as it appears on receipts.Optional
first_nameStringThe first name of the employee.Optional
idStringThe unique identifier of the employee.Optional
last_nameStringThe last name of the employee.Optional
loginStringThe pin the employee uses to log into the POS terminal.Optional
middle_nameStringThe middle name of the employee.Optional
pos_idStringThe Employee ID as it appears to POS admins.Optional
start_dateStringThe date the employee started work, formatted as "YYYY-MM-DD"Optional
order_type*object
availableBooleanWhether or not tickets can be opened under the order type.Optional
idStringThe unique identifier of the Order Type.Optional
nameStringThe name of the order type.Optional
pos_idStringThe Order Type ID as displayed to POS admins.Optional
revenue_centerobject
defaultBooleanOptional
idStringThe unique identifier of the Revenue Center.Optional
nameStringThe Revenue Center name.Optional
pos_idStringThe Revenue Center ID displayed to POS admins.Optional
tableobjectOptional
availableBooleanWhether or not the table is available for seatingOptional
idStringThe unique identifier of the table.Optional
NameStringThe table nameOptional
numberIntegerThe table numberOptional
pos_idStringThe Table displayed to POS admins.Optional
seatsIntegerThe number of seats at the table.Optional
payment*Array
idStringThe unique identifier of the payment.(if any)Optional
amountIntegerThe payment amount in case there is anyOptional
tender_types_idIntegerThe ternder id that was appliedOptional
tipIntegerThe tip that was paidOptional
Item embeddedTypeDescriptionRequired / optional
modifierArray
idIntegerThe unique identifier of the modifier.Optional
nameStringThe name of the modifierOptional
priceIntegerThe price of the modifierOptional
quantityIntegerThe quantity of the modifiersOptional
commentStringThe comment attached to the modifierOptional
Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!