Skip to main content

appPaymentGateway

Requires permission settings:integration:read.

Whether an installed app can take payments, and its payment gateway configuration if it is connected.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query AppPaymentGateway($installationId: ID!) {
appPaymentGateway(installationId: $installationId) {
installationId
notPaymentAppReason
paymentApp
supportedCurrencies
config {
id
environment
isEnabled
secretIssued
unavailableReason
updatedAt
}
}
}

Variables:

{
"installationId": "id"
}

Response:

{
"data": {
"appPaymentGateway": {
"installationId": "id",
"notPaymentAppReason": "string",
"paymentApp": true,
"supportedCurrencies": [
"string"
],
"config": {
"id": "id",
"environment": "LIVE",
"isEnabled": true,
"secretIssued": true,
"unavailableReason": "string",
"updatedAt": "2025-01-15T00:00:00Z"
}
}
}
}
appPaymentGateway(
installationId: ID!
): AppPaymentGatewayGql!

Arguments​

appPaymentGateway.installationId ● ID! non-null scalar​

The installed app.

Type​

AppPaymentGatewayGql object​

Whether an installed app can take payments, and its connection.