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:

DataProperty on chargemandatory

Terminal id

terminalId

Transaction amount

amount

Date and Time

created

Unique transaction id

id

Status (success/failed)

status

Card brand (visa/mastercard)

paymentMethodDetails.cardPresent.brand

funding (credit/debit)

paymentMethodDetails.cardPresent.funding

MaskedPan / last 4

paymentMethodDetails.cardPresent.last4

read method (contactless)

paymentMethodDetails.cardPresent.readMethod

auth code

paymentMethodDetails.cardPresent.receipt.
authorizationCode

auth response code

paymentMethodDetails.cardPresent.receipt.
authorizationResponseCode

Create 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