Object
Nested in APIpayment
A tender applied to an order.
Nested under order.payments. Methods: CASH, CARD, STORE_CREDIT, GIFT_CARD, OTHER.
Exposure
Appears nested inside Merchant API responses (not a top-level route).
What
The payment object is the JSON / domain shape for this resource in RetailLink.
Why
Use these fields when integrating — not scraped Admin HTML — so sync jobs and apps stay stable across UI changes.
How
Read each property below — description first, then that property's Code / Data / Output (or type). Use the sticky example JSON on the right as a full fixture.
Properties
10 fields on payment. Types link to related objects when available. Snippets for a property appear under that property.
id
stringPayment id (detail responses).
id: stringmethod
OrderPaymentMethodTender method on the order.
method: CASH | CARD | STORE_CREDIT | GIFT_CARD | OTHERamount
numberAmount applied for this payment.
amount: numbertendered
number | nullCash tendered when method is CASH (may exceed amount).
tendered: number | nullchangeGiven
number | nullChange returned on a cash tender.
changeGiven: number | nullcardType
string | nullCard brand label for receipts (e.g. "Visa Debit").
cardType: string | nullcardLast4
string | nullLast four digits of the card when available.
cardLast4: string | nullauthCode
string | nullCard auth code printed on the receipt.
authCode: string | nulltransactionReference
string | nullProvider transaction id for the receipt / reconciliation.
transactionReference: string | nullcreatedAt
stringISO-8601 timestamp (detail responses).
createdAt: string