Skip to main content

testAppPaymentGateway

Requires permission settings:integration:update.

Test a payment app's connection: ARC calls the app's signed test endpoint. A failure carries the app's own error.

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:

mutation TestAppPaymentGateway($configId: ID!) {
testAppPaymentGateway(configId: $configId) {
id
environment
isEnabled
secretIssued
unavailableReason
updatedAt
verification {
keysCheckedAt
keysValid
needsReverification
testPaymentAt
webhookReachable
}
}
}

Variables:

{
"configId": "id"
}

Response:

{
"data": {
"testAppPaymentGateway": {
"id": "id",
"environment": "LIVE",
"isEnabled": true,
"secretIssued": true,
"unavailableReason": "string",
"updatedAt": "2025-01-15T00:00:00Z",
"verification": {
"keysCheckedAt": "string",
"keysValid": true,
"needsReverification": true,
"testPaymentAt": "string",
"webhookReachable": true
}
}
}
}
testAppPaymentGateway(
configId: ID!
): AppPaymentGatewayConfigGql!

Arguments​

testAppPaymentGateway.configId ● ID! non-null scalar​

The payment app's configuration.

Type​

AppPaymentGatewayConfigGql object​

An installed payment app's gateway configuration. Its signing secret is never returned after it is issued.