Skip to main content
GET
Get a payment

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Path Parameters

id
integer
required

Response

Payment

Money that came in against charges. A charge (a transaction) is what a member owes; a payment is what they paid, when, with which payment method and to which company. One payment can pay several charges, and one charge can be paid by several payments.

id
integer
status
enum<string>
Available options:
pending,
processing,
succeeded,
failed,
refunded,
partially_refunded,
cancelled
amount
number

What was paid. A refunded payment keeps its full amount; what went back is in refunds.

currency
string
paymentDate
string<date-time> | null

When the money was taken; null for a payment whose money was not taken (pending, processing, failed or cancelled)

createdAt
string<date-time>
contact
object | null

Who paid

paymentMethod
object

How it was paid: an online card, the Wallet, or one of the payment methods staff record by hand, such as cash or a bank transfer

source
enum<string> | null

Where the payment was taken

Available options:
admin_portal,
member_portal,
public_marketplace,
kiosk,
system,
webhook,
api,
null
providerMode
enum<string> | null

test: taken in a payment provider's test mode, so no money moved. Leave these out when adding up what came in.

Available options:
test,
live,
null
reference
string | null

What to find the payment by where the money is held: the reference it was recorded with (such as a bank transfer's) or a partner reported, else the payment provider's own id: myPOS's transaction reference or order id, DatecsPay's or the card reader's RRN, or Stripe's charge (ch_…) or, before one exists, PaymentIntent (pi_…). paymentMethod.channel says which provider it belongs to.

billingEntityId
integer

The company that sold it and received the money

clubId
integer | null
invoiceId
integer | null

The invoice it was taken against, if any

charges
object[]

The charges it paid, with how much of the payment went to each

refunds
object[]

What was given back from it: succeeded refunds, and card refunds still pending with the provider

refundedAmount
number

The succeeded refunds, added up