Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 2.43 KB

Tender.md

File metadata and controls

25 lines (20 loc) · 2.43 KB

SquareConnect.Tender

Description

Represents a tender (i.e., a method of payment) used in a Square transaction.

Properties

Name Type Description Notes
id String The tender's unique ID. [optional]
location_id String The ID of the transaction's associated location. [optional]
transaction_id String The ID of the tender's associated transaction. [optional]
created_at String The time when the tender was created, in RFC 3339 format. [optional]
note String An optional note associated with the tender at the time of payment. [optional]
amount_money Money The total amount of the tender, including `tip_money`. If the tender has a `payment_id`, the `total_money` of the corresponding `Payment` will be equal to the `amount_money` of the tender. [optional]
tip_money Money The tip's amount of the tender. [optional]
processing_fee_money Money The amount of any Square processing fees applied to the tender. This field is not immediately populated when a new transaction is created. It is usually available after about ten seconds. [optional]
customer_id String If the tender is associated with a customer or represents a customer's card on file, this is the ID of the associated customer. [optional]
type String The type of tender, such as `CARD` or `CASH`. See TenderType for possible values
card_details TenderCardDetails The details of the card tender. This value is present only if the value of `type` is `CARD`. [optional]
cash_details TenderCashDetails The details of the cash tender. This value is present only if the value of `type` is `CASH`. [optional]
additional_recipients [AdditionalRecipient] Additional recipients (other than the merchant) receiving a portion of this tender. For example, fees assessed on the purchase by a third party integration. [optional]
payment_id String The ID of the `Payment` that corresponds to this tender. This value is only present for payments created with the v2 Payments API. [optional]