Skip to main content
GET
Fetch a payment

Authorizations

Authorization
string
header
required

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

Path Parameters

payment_id
integer
required

The ID of the payment to fetch

Response

200 - application/json

OK

A payment represents a payment made by a clinic client (pet parent). Payments can be made via credit card, cash, check, client credit, or other external payment methods. Each payment records the amount, type, and current status of the transaction.

amount
integer
required

The payment amount in cents.

clinic_client_id
integer
required

The ID of the clinic client who made this payment.

clinic_id
integer
required

The ID of the clinic associated with this payment.

created
string<date-time>
required

The datetime this object was created.

currency
enum<string>
required

The currency of this payment.

Available options:
USD,
CAD
id
integer
required

The unique identifier for the payment.

modified
string<date-time>
required

The datetime this object was last modified; changes to related entities will not update this field.

The ID of the payment link used for this payment, if any.

payment_type
enum<string>
required

The method used to make this payment.

Available options:
CARD_SAVED,
CARD_READER,
CLIENT_CREDIT,
CASH,
CHECK,
CUSTOM
recorded_at
string<date-time>
required

When this payment was officially recorded.

status
enum<string>
required

The current status of this payment.

Available options:
PENDING,
COMPLETED,
CANCELED,
FAILED,
VOIDED
void_reason
string
required

The reason this payment was voided, if applicable.

voided_at
string<date-time> | null
required

When this payment was voided, if applicable.