Fetch Payment

Fetch a payment

Required OAuth 2.0 scope: business/orders:read

Path parameters

payment_idstringRequired>=1 character<=100 characters
The unique identifier of the payment.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Successful Response
amount_excl_tipobject
The payment amount excluding the amount designated towards the tip.
created_atstringformat: "date-time"
The payment creation date and time in ISO 8601 format.
currencystring
The currency code in ISO 4217 format.
display_namestring

A human-friendly label for the payment.

idstring
The unique identifier of the payment.
notestring or null
An optional note attached to the payment.
order_idstring or null
A reference to the original order.
payment_methodenum
The method used to make the payment.
Allowed values:
payment_sourceenum
The source of the payment.
processing_feeslist of objects
The transaction fees that have been charged against the payment.
receipt_numberstring
The receipt number of the payment.
refunded_amountobject
The amount of this payment that has been refunded, if any.
refundslist of objects
The refunds that have been issued against the payment.
statusenum
The current state of the payment.
Allowed values:
tip_amountobject
The payment amount designated towards the tip.
total_amountobject
The total payment amount.
updated_atstring or nullformat: "date-time"
The date and time the payment was last modified in ISO 8601 format.

Errors