Attributes
Where the payment came from.
type is checkout, payment_link,
invoice, subscription, or api, and label is a display name for it.
The matching ID (payment_link, invoice, or subscription) is included
when there is one.The payment’s outcome in one value.
refunded or partially_refunded once
a refund applies; failed, declined, or uncertain from the latest
charge; otherwise the PaymentIntent’s status, such as succeeded,
requires_capture, or canceled.The card used: brand, last 4 digits, expiration, funding, issuer,
country, and billing details.
Why the latest charge was declined. See decline codes.
Retrieved transactions
Retrieving one transaction adds the records behind it:Endpoints
Both need a secret or restricted key with
payments:read.
