V1Payment

March 27, 2019 ยท View on GitHub

Description

A payment represents a paid transaction between a Square merchant and a customer. Payment details are usually available from Connect API endpoints within a few minutes after the transaction completes. Each Payment object includes several fields that end in _money. These fields describe the various amounts of money that contribute to the payment total:

  • Monetary values are positive if they represent an increase in the amount of money the merchant receives (e.g., tax_money, tip_money).
  • Monetary values are negative if they represent an decrease in the amount of money the merchant receives (e.g., discount_money, refunded_money).

Properties

NameTypeDescriptionNotes
idStringThe payment's unique identifier.[optional]
merchantIdStringThe unique identifier of the merchant that took the payment.[optional]
createdAtStringThe time when the payment was created, in ISO 8601 format. Reflects the time of the first payment if the object represents an incomplete partial payment, and the time of the last or complete payment otherwise.[optional]
creatorIdStringThe unique identifier of the Square account that took the payment.[optional]
deviceDeviceThe device that took the payment.[optional]
paymentUrlStringThe URL of the payment's detail page in the merchant dashboard. The merchant must be signed in to the merchant dashboard to view this page.[optional]
receiptUrlStringThe URL of the receipt for the payment. Note that for split tender payments, this URL corresponds to the receipt for the first tender listed in the payment's tender field. Each Tender object has its own receipt_url field you can use to get the other receipts associated with a split tender payment.[optional]
inclusiveTaxMoneyV1MoneyThe sum of all inclusive taxes associated with the payment.[optional]
additiveTaxMoneyV1MoneyThe sum of all additive taxes associated with the payment.[optional]
taxMoneyV1MoneyThe total of all taxes applied to the payment. This is always the sum of inclusive_tax_money and additive_tax_money.[optional]
tipMoneyV1MoneyThe total of all tips applied to the payment.[optional]
discountMoneyV1MoneyThe total of all discounts applied to the payment.[optional]
totalCollectedMoneyV1MoneyThe total of all discounts applied to the payment.[optional]
processingFeeMoneyV1MoneyThe total of all processing fees collected by Square for the payment.[optional]
netTotalMoneyV1MoneyThe amount to be deposited into the merchant's bank account for the payment.[optional]
refundedMoneyV1MoneyThe total of all refunds applied to the payment.[optional]
swedishRoundingMoneyV1MoneyThe total of all sales, including any applicable taxes, rounded to the smallest legal unit of currency (e.g., the nearest penny in USD, the nearest nickel in CAD)[optional]
grossSalesMoneyV1MoneyThe total of all sales, including any applicable taxes.[optional]
netSalesMoneyV1MoneyThe total of all sales, minus any applicable taxes.[optional]
inclusiveTaxList<V1PaymentTax>All of the inclusive taxes associated with the payment.[optional]
additiveTaxList<V1PaymentTax>All of the additive taxes associated with the payment.[optional]
tenderList<V1Tender>All of the tenders associated with the payment.[optional]
refundsList<V1Refund>All of the refunds applied to the payment. Note that the value of all refunds on a payment can exceed the value of all tenders if a merchant chooses to refund money to a tender after previously accepting returned goods as part of an exchange.[optional]
itemizationsList<V1PaymentItemization>The items purchased in the payment.[optional]
surchargeMoneyV1MoneyThe total of all surcharges applied to the payment.[optional]
surchargesList<V1PaymentSurcharge>A list of all surcharges associated with the payment.[optional]
isPartialBooleanIndicates whether or not the payment is only partially paid for. If true, this payment will have the tenders collected so far, but the itemizations will be empty until the payment is completed.[optional]