Skip to main content
GET
Get one CoworkerPaymentMethod
A CoworkerPaymentMethod is a tokenised payment method stored against a customer and a location, used when charging invoices issued to that customer by that location. Currently supported providers are Stripe (card and ACH/BACS) and GoCardless (direct debit mandates). The RegularPaymentProvider field identifies the provider; valid values for this entity are Stripe (2), StripeACH (11), StripeBACS (13), and GoCardless (12).
  • For Stripe methods, MethodId holds the Stripe payment method ID and CustomerId holds the Stripe customer ID.
  • For GoCardless mandates, MandateId holds the GoCardless mandate ID and CustomerId holds the GoCardless customer ID.
  • CardNumber stores a masked card number for display purposes only.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CoworkerPaymentMethod-Read role.

Path Parameters

integer
required
The Id of the CoworkerPaymentMethod record to retrieve.

Code Examples

Response

200

integer
Customer this payment method belongs to.
integer
Location that issued or will charge invoices using this payment method.
string
Location name.
string
Currency code of the location.
integer
Payment provider for this method. For this entity, valid values are Stripe (2), StripeACH (11), StripeBACS (13), and GoCardless (12)..
string
Provider payment method ID (e.g. Stripe payment method ID).
string
Provider customer ID (e.g. Stripe or GoCardless customer ID).
string
GoCardless mandate ID. Only populated for GoCardless payment methods..
string
Masked card number for display purposes only.
string
Optional notes about this payment method.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response