Get payment
Get a payment by its ID
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Path parameters
id
Response
200
id
Unique payment identifier.
number
Sequential payment number within your organization (shown as “PAY-0001”).
customerId
The customer this payment belongs to.
invoiceId
The invoice this payment was collected for, when created by an automatic charge. Null for manually recorded payments.
orderId
The order this payment relates to, when known.
amount
Payment amount in cents (minor currency units).
allocatedAmount
Portion of the amount already allocated to invoice lines, in cents.
balance
Unallocated remainder of the payment, in cents.
currency
Three-letter ISO currency code.
paymentDate
When the payment was made.
paymentType
How the payment was made, e.g. creditCard, bankTransfer, ach, cash, or check.
status
Payment status: draft, posted, processing, requiresAction, failed, or canceled.
metadata
Key-value metadata stored on the payment.
createdAt
updatedAt
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error