Skip to main content

Payment Statuses

EntityDatastoreDatastore.PaymentStatus

Payment statuses track the payment state of financial transactions.

Use the Datastore_PaymentStatus endpoint to query payment statuses.

Endpoints

List Payment Statuses

GET/v1/odata/Datastore_PaymentStatus

Single Payment Statuse

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

Fields

Datastore Fields (inherited)

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

Relationships

RelationshipTarget EntityCardinalityDescription
PaymentTemplate_Email_Payment1:NPayment

Expanding Relationships

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

Filtering Examples

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