Skip to main content

Payment Methods

EntityDatastoreDatastore.PaymentMethod

Payment methods define how invoices and subscriptions are paid (e.g., bank transfer, direct debit, credit card).

Use the Datastore_PaymentMethod endpoint to query payment methods.

Endpoints

List Payment Methods

GET/v1/odata/Datastore_PaymentMethod

Single Payment Method

GET/v1/odata/Datastore_PaymentMethod({id})

Fields

Datastore Fields (inherited)

FieldTypeDescription
NameStringDisplay name
CodeStringUnique code identifier
LocalizedNameStringLocalized display name
IsDefaultBooleanWhether this is the default value

Relationships

RelationshipTarget EntityCardinalityDescription
PaymentPayment1:NPayment
SubscriptionActivity_Subscription1:NSubscription
InvoiceActivity_Invoice1:NInvoice

Expanding Relationships

GET/v1/odata/Datastore_PaymentMethod({id})?$expand=Payment
GET/v1/odata/Datastore_PaymentMethod({id})/Payment

Filtering Examples

GET/v1/odata/Datastore_PaymentMethod?$filter=Name eq '{Name}'&$top={top}
GET/v1/odata/Datastore_PaymentMethod?$filter=contains(Name, '{Name}')&$top={top}
GET/v1/odata/Datastore_PaymentMethod?$filter=Code eq '{Code}'&$top={top}
GET/v1/odata/Datastore_PaymentMethod?$filter=IsDefault eq {IsDefault}&$top={top}