Skip to main content
GET
Get invoice payment

Authorizations

Authorization
string
header
required

Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>

Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.

Path Parameters

business_id
string<uuid>
required

Business UUID provided by Thred (unique identifier for the business)

payment_id
string<uuid>
required

A UUID string identifying this payment.

Response

Comprehensive serializer for invoice payments list endpoint. Extends PaymentSerializer with allocation details.

Inspired by external payment APIs but adapted for Friday's architecture.

id
string<uuid>
required
read-only
customer
object | null
required

Customer details embedded in payment and other response objects.

customer_name
string
required
read-only

Customer display name

customer_email
string
required
read-only

Customer email address

payment_method
enum<string>
required
  • bank_transfer - Bank Transfer
  • credit_card - Credit Card
  • debit_card - Debit Card
  • ach - ACH/Direct Debit
  • check - Check/Cheque
  • cash - Cash
  • paypal - PayPal
  • stripe - Stripe
  • other - Other
Available options:
bank_transfer,
credit_card,
debit_card,
ach,
check,
cash,
paypal,
stripe,
other
total_amount
integer
required
read-only

Total payment amount in cents

allocated_amount
integer
required
read-only

Amount allocated to invoices in cents

unallocated_amount
integer
required
read-only

Unallocated amount remaining in cents (customer credit if positive)

net_amount
integer
required
read-only

Net amount after deducting all fees in cents

processing_fee
integer
required
read-only

Platform processing fee charged in cents

processing_fee_cents
integer
required
read-only

Platform processing fee charged in cents (raw database field)

display_amount
string
required
read-only

Human-readable payment amount with currency symbol

is_fully_allocated
boolean
required
read-only

Whether payment is fully allocated to invoices (true if allocated_amount >= total_amount)

is_completed
boolean
required
read-only

Whether payment processing is completed (status='completed')

processed_at
string<date-time> | null
required
read-only
failed_at
string<date-time> | null
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
allocations
object[]
required
read-only
refund_allocations
object[]
required
read-only

Refund allocations linked to this payment

reconciled_bank_transactions
object[]
required
read-only

Bank transactions this payment is reconciled to

external_id
string
Maximum string length: 255
payment_reference
string
Maximum string length: 100
processor_reference
string
Maximum string length: 255
payment_date
string<date-time>
payment_processor
string
Maximum string length: 100
currency
enum<string>
  • EUR - Euro
  • GBP - British Pound
  • USD - US Dollar
  • SEK - Swedish Krona
  • NOK - Norwegian Krone
  • DKK - Danish Krone
  • ISK - Icelandic Króna
  • MYR - Malaysian Ringgit
  • SGD - Singapore Dollar
Available options:
EUR,
GBP,
USD,
SEK,
NOK,
DKK,
ISK,
MYR,
SGD
status
enum<string>
  • pending - Pending
  • processing - Processing
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled
  • refunded - Refunded
Available options:
pending,
processing,
completed,
failed,
cancelled,
refunded
failure_reason
string
transaction_tags
any
metadata
any
notes
string
bank_reference
string
Maximum string length: 100