Access customer payment information and methods.
GraphQL
query {
PaymentInformation (id: 100012) {
label
}
}
GraphQL
query {
PaymentInformations {
data {
label
}
}
}
Field Type Description idInt Unique identifier of the payment information. labelString Name of the payment information. informationString Content of the payment information. defaultBoolean If true, the payment information is the default for the invoices created. activeBoolean If true, the payment information is active and can be used in documents. deposit_defaultBoolean If true, the payment information is the default for deposits.
You can create filters based on following fields
label Example:{ "column" : "LABEL", "operator" : "EQ", "value" : "EUR" }
default Example: { "column": "DEFAULT", "operator": "NEQ", "value": true }
active Example:{ "column": "ACTIVE", "operator": "EQ", "value": true }
You can sort data based on following fields : id, label, default, active
GraphQL
query PaymentInformations(
$where: QueryPaymentInformationsWhereWhereConditions,
) {
PaymentInformations(
orderBy: [{column: LABEL, order: ASC}]
where: $where
) {
paginatorInfo {
total
}
data {
id
label
default
}
}
}
Variables (JSON)
{
"where": {
"AND": [
{
"column": "ACTIVE",
"operator": "EQ",
"value": true
}
]
}
}
JSON
{
"data": {
"PaymentInformations": {
"paginatorInfo": {
"total": 1
},
"data": [
{
"id": 100002,
"label": "Bank of America",
"default": true,
}
]
}
}
}