Reference
Receipt fields
Every receiptData field on sales, refunds and voids, with type and when it is null.
Every approved sale, refund and void answer carries receiptData with the same keys. It is null unless approved. Fields that don't apply are null.
| receiptData field | Type | When present / null |
|---|---|---|
| kind | "sale" | "refund" | "void" | Which transaction this receipt is for. |
| valetReference | string | Your referenceId for the original sale. |
| storeyTransactionId | string | Always the original sale's UUID, so refunds and voids link back. |
| reversalId | string | null | Refund/void: ID of this reversal. Null on sales. |
| valorTransactionId | string | null | This transaction's own Valor ID (sale, refund or void). Null when Valor gave none, and for stored value. |
| originalValorTransactionId | string | null | Refund/void: the original sale's Valor ID. Null on sales. |
| valorRefundTransactionId | string | null | Refunds and voids: same value as valorTransactionId (kept for older integrations). Null on sales. |
| approvalCode | string | null | This transaction's approval code; null when Valor gave none and for stored value. |
| rrn | string | null | This transaction's RRN; null when not provided and for stored value. |
| dateTime | string (ISO date-time) | When this sale, refund or void happened. |
| cardBrand | string | null | Original card brand; null for gift cards/store credit. |
| last4 | string | null | Payment card last four only; null for stored value. |
| entryMode | string | null | How the original card was read; null for stored value. |
| amount | number | Sale: total. Refund: the amount you sent. Void: the original total. |
| taxAmount | number | null | Sale and void: the sale's tax (zero is valid). Refund: null — items are never reconciled. |
| feeAmount | number | null | Sale and void: card difference fee, null if none. Refund: null. Always null for stored value. |
| batchNumber | string | null | This transaction's batch number when Valor returns it; null otherwise and for stored value. |
| tranNumber | string | null | This transaction's transaction number when Valor returns it; null otherwise and for stored value. |
| originalAmounts | object | The original sale: subtotal, taxAmount, tipAmount, shippingAmount, feeAmount (null if none), total. |
| refundedSoFar | number | Total refunded on the sale after this transaction (a void counts the whole total). |
| remaining | number | What can still be refunded after this transaction. |
| paymentType | "card" | "gift_card" | "store_credit" | How the original sale was paid. |
| giftCardLast4 | string | null | Stored value: code ending. Null for cards. |
| balanceAfter | number | null | Stored value: balance after this transaction. Null for cards. |
| cardDifferenceFee | number | null | Card difference fee on the original card sale (cash-discount locations only). Null where none applies, and always for stored value. |
| amountRequested | number | The cash price you asked for (the sale's total). |
| amountCharged | number | What the card paid: amountRequested + cardDifferenceFee. Equal to amountRequested when there is no fee. |
| cardFeePercent | number | null | The location's boarded percent used for the fee; null when no fee applies. |
| cardFeeReturned | number | null | Refund only: the whole card fee given back on the refund that completed the cash price. Null otherwise. |
