Skip to content

Latest commit

 

History

History
129 lines (68 loc) · 3.77 KB

PosPayment.md

File metadata and controls

129 lines (68 loc) · 3.77 KB

Apideck.PosPayment

Description

Properties

Name Type Description Notes
source_id string The ID for the source of funds for this payment. Square-only: This can be a payment token (card nonce) generated by the payment form or a card on file made linked to the customer. if recording a payment that the seller received outside of Square, specify either `CASH` or `EXTERNAL`.
order_id string
customer_id string
tender_id string
amount number
currency Currency
id string A unique identifier for an object. [optional]
merchant_id string [optional]
employee_id string [optional]
location_id string [optional]
device_id string [optional]
external_payment_id string [optional]
idempotency_key string A value you specify that uniquely identifies this request among requests you have sent. [optional]
tip number [optional]
tax number [optional]
total number [optional]
app_fee number The amount the developer is taking as a fee for facilitating the payment on behalf of the seller. [optional]
change_back_cash_amount number [optional]
approved number The initial amount of money approved for this payment. [optional]
refunded number The initial amount of money approved for this payment. [optional]
processing_fees Array<object> [optional]
source string Source of this payment. [optional]
status string Status of this payment. [optional]
cash CashDetails [optional]
card_details PosPaymentCardDetails [optional]
bank_account PosBankAccount [optional]
wallet WalletDetails [optional]
external_details PosPaymentExternalDetails [optional]
service_charges ServiceCharges [optional]
custom_mappings object When custom mappings are configured on the resource, the result is included here. [optional]
updated_by string The user who last updated the object. [optional]
created_by string The user who created the object. [optional]
updated_at Date The date and time when the object was last updated. [optional]
created_at Date The date and time when the object was created. [optional]
pass_through PassThroughBody [optional]

Enum: PosPayment.source

  • card (value: 'card')

  • bank_account (value: 'bank_account')

  • wallet (value: 'wallet')

  • bnpl (value: 'bnpl')

  • cash (value: 'cash')

  • external (value: 'external')

  • other (value: 'other')

Enum: PosPayment.status

  • approved (value: 'approved')

  • pending (value: 'pending')

  • completed (value: 'completed')

  • canceled (value: 'canceled')

  • failed (value: 'failed')

  • other (value: 'other')

Referenced Types:


[Back to top] [Back to API list] [Back to README]