Receipts
Do you need to create a terminal receipt? Then read more here...
Currently we deliver a simple formatted text version of a terminal receipt. This is suitable for printing on a receipt printer. You can adjust the width in characters to center the receipt on your paper.
We are working on a pdf version as well.
Go to the receipt endpoint and put in your charge or refund id and get in return the receipt.
Create your own terminal receipt
You can also create your own receipt, by fetching the data from Vibrant and format yourself, this is our recomendation in such a case.
It is though possible to get all data that you need from the Chargeobject under paymentMethodDetails.
Your receipt should include:
Terminal id
terminalId✅
Transaction amount
amount✅
Date and Time
created✅
Unique transaction id
id✅
Status (success/failed)
status✅
Card brand (visa/mastercard)
paymentMethodDetails.cardPresent.brandfunding (credit/debit)
paymentMethodDetails.cardPresent.fundingMaskedPan / last 4
paymentMethodDetails.cardPresent.last4read method (contactless)
paymentMethodDetails.cardPresent.readMethodauth code
paymentMethodDetails.cardPresent.receipt.
authorizationCodeauth response code
paymentMethodDetails.cardPresent.receipt.
authorizationResponseCodeCreate your own refund receipt
In order to create your own reciepts for a refund, take that refundIdfrom the refund object and fetch that Charge.
From there you can create the exact same terminal receipt as mentioned above - you just need to state that it is a refund, not a sale 👍
Last updated