Skip to main content
mutation AuthorizeCustomerInitiatedTransaction($authorizeCustomerInitiatedTransactionInput: AuthorizeCustomerInitiatedTransactionInput!) {
  authorizeCustomerInitiatedTransaction(authorizeCustomerInitiatedTransactionInput: $authorizeCustomerInitiatedTransactionInput) {
    authorizationResponse {
      activityDate
      advice {
        networkAdviceCode
      }
      avsResponseDetails {
        avsResponseCode
        networkCode
        responseType
      }
      businessApplicationId
      cardDetails {
        last4
        paymentBrand
      }
      cardSecurityCodeResponseDetails {
        networkCode
        processorCode
      }
      duration
      isDuplicateRequest
      nameVerificationResponseDetails {
        processorCode
      }
      networkResponseDetails {
        networkResponseCode
        processorResponseCode
      }
      networkTransactionId
      paymentId
      sanitizedFields {
        fieldName
        fieldPath
        originalValue
        reason
        sanitizedValue
      }
      systemTraceAuditNumber
      timestampUtc
      tokenDetails {
        token
        tokenizedPan
      }
      transactionId
    }
    errors {
      ... on InternalServiceError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on AcceptorNotFoundError {
        dateTimeUtc
        errorDateTime
        message
        organizationId
        presenterId
      }
      ... on RuleInViolationError {
        advice
        dateTimeUtc
        errorDateTime
        explanationOfRule
        message
      }
      ... on SyntaxOnNetworkResponseError {
        attemptedNetwork
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
      }
      ... on TimeoutOnNetworkResponseError {
        attemptedNetwork
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
      }
      ... on ValidationFailureError {
        dateTimeUtc
        errorDateTime
        fieldName
        fieldPath
        message
      }
      ... on UnknownCardError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on TokenNotFoundError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on InvalidTokenError {
        dateTimeUtc
        deTokenizedPaymentMethodType
        errorDateTime
        expectedPaymentMethodType
        message
      }
      ... on RouteNotFoundError {
        boardedPaymentBrandsForAcceptor
        dateTimeUtc
        errorDateTime
        message
        paymentBrand
      }
    }
  }
}
{
  "data": {
    "authorizeCustomerInitiatedTransaction": {
      "authorizationResponse": {
        "activityDate": "2026-01-15",
        "advice": {
          "networkAdviceCode": "example"
        },
        "avsResponseDetails": {
          "avsResponseCode": "ADDRESS_MATCHED_POSTALCODE_MATCHED",
          "networkCode": "example",
          "responseType": "FULL_MATCH"
        },
        "businessApplicationId": "CB",
        "cardDetails": {
          "last4": "1234",
          "paymentBrand": "VISA"
        },
        "cardSecurityCodeResponseDetails": {
          "networkCode": "example",
          "processorCode": "MATCH"
        },
        "duration": 0,
        "isDuplicateRequest": true,
        "nameVerificationResponseDetails": {
          "processorCode": "MATCH"
        },
        "networkResponseDetails": {
          "networkResponseCode": "example",
          "processorResponseCode": "A0000"
        },
        "networkTransactionId": "example",
        "paymentId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "sanitizedFields": [
          {
            "fieldName": "example",
            "fieldPath": "example",
            "originalValue": "example",
            "reason": "example",
            "sanitizedValue": "example"
          }
        ],
        "systemTraceAuditNumber": "example",
        "timestampUtc": "2026-01-15T14:30:00Z",
        "tokenDetails": {
          "token": "example",
          "tokenizedPan": "example"
        },
        "transactionId": "c9a1e2d3-4b5f-6789-0abc-def123456789"
      },
      "errors": [
        {
          "__typename": "InternalServiceError",
          "dateTimeUtc": "2026-01-15T14:30:00Z",
          "errorDateTime": "2026-01-15T14:30:00Z",
          "message": "example",
          "processorResponseCode": "A0000",
          "transactionId": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901"
        }
      ]
    }
  }
}
Mutation

Arguments

authorizeCustomerInitiatedTransactionInput
AuthorizeCustomerInitiatedTransactionInput!
required

Return type

AuthorizeCustomerInitiatedTransactionPayload!
authorizationResponse
AuthorizationResponse
errors
[AuthorizeCustomerInitiatedTransactionError!]
mutation AuthorizeCustomerInitiatedTransaction($authorizeCustomerInitiatedTransactionInput: AuthorizeCustomerInitiatedTransactionInput!) {
  authorizeCustomerInitiatedTransaction(authorizeCustomerInitiatedTransactionInput: $authorizeCustomerInitiatedTransactionInput) {
    authorizationResponse {
      activityDate
      advice {
        networkAdviceCode
      }
      avsResponseDetails {
        avsResponseCode
        networkCode
        responseType
      }
      businessApplicationId
      cardDetails {
        last4
        paymentBrand
      }
      cardSecurityCodeResponseDetails {
        networkCode
        processorCode
      }
      duration
      isDuplicateRequest
      nameVerificationResponseDetails {
        processorCode
      }
      networkResponseDetails {
        networkResponseCode
        processorResponseCode
      }
      networkTransactionId
      paymentId
      sanitizedFields {
        fieldName
        fieldPath
        originalValue
        reason
        sanitizedValue
      }
      systemTraceAuditNumber
      timestampUtc
      tokenDetails {
        token
        tokenizedPan
      }
      transactionId
    }
    errors {
      ... on InternalServiceError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on AcceptorNotFoundError {
        dateTimeUtc
        errorDateTime
        message
        organizationId
        presenterId
      }
      ... on RuleInViolationError {
        advice
        dateTimeUtc
        errorDateTime
        explanationOfRule
        message
      }
      ... on SyntaxOnNetworkResponseError {
        attemptedNetwork
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
      }
      ... on TimeoutOnNetworkResponseError {
        attemptedNetwork
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
      }
      ... on ValidationFailureError {
        dateTimeUtc
        errorDateTime
        fieldName
        fieldPath
        message
      }
      ... on UnknownCardError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on TokenNotFoundError {
        dateTimeUtc
        errorDateTime
        message
        processorResponseCode
        transactionId
      }
      ... on InvalidTokenError {
        dateTimeUtc
        deTokenizedPaymentMethodType
        errorDateTime
        expectedPaymentMethodType
        message
      }
      ... on RouteNotFoundError {
        boardedPaymentBrandsForAcceptor
        dateTimeUtc
        errorDateTime
        message
        paymentBrand
      }
    }
  }
}
{
  "data": {
    "authorizeCustomerInitiatedTransaction": {
      "authorizationResponse": {
        "activityDate": "2026-01-15",
        "advice": {
          "networkAdviceCode": "example"
        },
        "avsResponseDetails": {
          "avsResponseCode": "ADDRESS_MATCHED_POSTALCODE_MATCHED",
          "networkCode": "example",
          "responseType": "FULL_MATCH"
        },
        "businessApplicationId": "CB",
        "cardDetails": {
          "last4": "1234",
          "paymentBrand": "VISA"
        },
        "cardSecurityCodeResponseDetails": {
          "networkCode": "example",
          "processorCode": "MATCH"
        },
        "duration": 0,
        "isDuplicateRequest": true,
        "nameVerificationResponseDetails": {
          "processorCode": "MATCH"
        },
        "networkResponseDetails": {
          "networkResponseCode": "example",
          "processorResponseCode": "A0000"
        },
        "networkTransactionId": "example",
        "paymentId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "sanitizedFields": [
          {
            "fieldName": "example",
            "fieldPath": "example",
            "originalValue": "example",
            "reason": "example",
            "sanitizedValue": "example"
          }
        ],
        "systemTraceAuditNumber": "example",
        "timestampUtc": "2026-01-15T14:30:00Z",
        "tokenDetails": {
          "token": "example",
          "tokenizedPan": "example"
        },
        "transactionId": "c9a1e2d3-4b5f-6789-0abc-def123456789"
      },
      "errors": [
        {
          "__typename": "InternalServiceError",
          "dateTimeUtc": "2026-01-15T14:30:00Z",
          "errorDateTime": "2026-01-15T14:30:00Z",
          "message": "example",
          "processorResponseCode": "A0000",
          "transactionId": "d8b2f3e4-5c6a-7890-1bcd-ef2345678901"
        }
      ]
    }
  }
}