# node

Query · GraphQL API

Fetch any object that extends the Node interface using its ID.

## Authentication

- SERVER
- CLIENT

## Input

- `id` (`ID!`) — required

## Returns [Node](/braintree/graphql/reference/types/node)

Relay compatible Node interface.

### Returned fields

- `id` (`ID!`) — non-null: Global ID for a given object.

## Examples

### Node

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query node($id: ID!) {
  node(id: $id) {
    __typename
    id
  }
}
```

### Get dispute

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getDispute($id: ID!) {
  node(id: $id) {
    __typename
    ... on Dispute {
      id
      legacyId
      amountDisputed {
        value
        currencyCode
      }
      amountWon {
        value
        currencyCode
      }
      caseNumber
      createdAt
      receivedDate
      referenceNumber
      responseDeadline
      replyByDate
      type
      evidence {
        __typename
        ... on DisputeFileEvidence {
          __typename
          id
          legacyId
          createdAt
          sentToProcessorAt
          url
          category
        }
        ... on DisputeTextEvidence {
          __typename
          id
          legacyId
          createdAt
          sentToProcessorAt
          content
          category
        }
      }
      originalDispute {
        __typename
        id
        legacyId
      }
      processorResponse {
        processorComments
        reason
        reasonCode
        reasonDescription
        receivedDate
        referenceNumber
      }
      status
      statusHistory {
        disbursementDate
        status
        timestamp
        effectiveDate
      }
      transaction {
        __typename
        id
        legacyId
      }
      protectionLevel
      preDisputeProgram
      remainingFileEvidenceStorage
    }
  }
}
```

### Get payment method 3D Secure

Fetch any object that extends the Node interface using its ID.

```graphql
query getPaymentMethod3DSecure($id: ID!, $authenticationInsightInput: AuthenticationInsightInput!, $verificationsFirst: Int, $verificationsAfter: String)  {
  node(id: $id) {
    __typename
    ... on PaymentMethod {
      id
      legacyId
      usage
      createdAt
      details {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
            authenticationInsight(input: $authenticationInsightInput) {
              merchantAccountId
              customerAuthenticationRegulationEnvironment
              customerAuthenticationIndicator
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalAccountDetails {
          __typename
          billingAgreementId
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          shippingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          email
          phone
          payerId
          firstName
          lastName
          cobrandedCardLabel
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          limitedUseOrderId
          selectedFinancingOption {
            term
            monthlyPayment {
              value
              currencyCode
            }
            discountPercentage
            discountAmount {
              value
              currencyCode
            }
          }
          fundingSourceDescription
          vaultedBillingAgreementId
        }
        ... on SamsungPayCardDetails {
          __typename
          brand
          brandCode
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          sourceCardLast4
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on SEPADirectDebitAccountDetails {
          __typename
          merchantOrPartnerCustomerId
          last4
          bankReferenceToken
          mandateType
        }
      }
      verifications(first: $verificationsFirst, after: $verificationsAfter) {
        edges {
          cursor
          node {
            __typename
            id
            legacyId
          }
        }
        pageInfo {
          hasNextPage
          hasPreviousPage
          startCursor
          endCursor
        }
      }
      customer {
        __typename
        id
        legacyId
      }
    }
  }
}
```

### Get refund 3D Secure

Fetch any object that extends the Node interface using its ID.

```graphql
query getRefund3DSecure($id: ID!, $authenticationInsightInput: AuthenticationInsightInput!)  {
  node(id: $id) {
    __typename
    ... on Refund {
      id
      legacyId
      createdAt
      amount {
        value
        currencyCode
      }
      orderId
      status
      processorAuthorizationResponse {
        legacyCode
        message
        cvvResponse
        avsPostalCodeResponse
        avsStreetAddressResponse
        authorizationId
        additionalInformation
        retrievalReferenceNumber
        emvData
        mastercardTransactionLinkId
      }
      statusHistory {
        __typename
        ... on AuthorizationExpiredEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on AuthorizedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          riskDecision
          terminal
          authorizationExpiresAt
          userName
        }
        ... on FailedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on GatewayRejectedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          gatewayRejectionReason
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          duplicateOf {
            __typename
            id
            legacyId
          }
          userName
        }
        ... on ProcessorDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          declineType
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on SettledEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          settlementBatchId
        }
        ... on SettlementDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
        ... on SettlementPendingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          userName
        }
        ... on SettlingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on SubmittedForSettlementEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on VoidedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on SettlementConfirmedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
      }
      details {
        __typename
        ... on PayPalRefundDetails {
          __typename
          payPalRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
          description
          reason
        }
        ... on PayPalLocalPaymentRefundDetails {
          __typename
          payPalLocalPaymentRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitRefundDetails {
          __typename
          sEPADirectDebitRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
          paymentId
        }
      }
      merchantAccountId
      source
      refundedTransaction {
        __typename
        id
        legacyId
      }
      paymentMethodSnapshot {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
            authenticationInsight(input: $authenticationInsightInput) {
              merchantAccountId
              customerAuthenticationRegulationEnvironment
              customerAuthenticationIndicator
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          customField
          payer {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payee {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payerStatus
          paymentId
          sellerProtectionStatus
          taxId
          taxIdType
          transactionFee {
            value
            currencyCode
          }
          description
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          appUsedForScanning
          recipientEmail
          recipientPhone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          usBankAccountType: accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on LocalPaymentDetails {
          __typename
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          type
          displayName
          implicitlyVaultedPaymentMethodId
        }
        ... on CreditCardTransactionDetails {
          __typename
          creditCard {
            __typename
            brandCode
            last4
            bin
            binData {
              prepaid
              healthcare
              debit
              durbinRegulated
              commercial
              payroll
              issuingBank
              countryOfIssuance
              productId
              prepaidReloadable
              business
              consumer
              corporate
              purchase
            }
            expirationMonth
            expirationYear
            cardholderName
            uniqueNumberIdentifier
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            threeDSecure {
              authentication {
                cavv
                directoryServerTransactionId
                eciFlag
                liabilityShifted
                liabilityShiftPossible
                cardEnrolled
                authenticationStatus
                version
                xId
                threeDSecureServerTransactionId
                acsTransactionId
                paresStatus
                transactionStatus
                transactionStatusReason
              }
              authenticationInsight(input: $authenticationInsightInput) {
                merchantAccountId
                customerAuthenticationRegulationEnvironment
                customerAuthenticationIndicator
              }
            }
            cardOnFileNetworkTokenized
            paymentAccountReference
          }
          networkTransactionId
          creditCardTransactionAccountType: accountType
          acquirerReferenceNumber
          processedWithCardOnFileNetworkToken
          accountBalance {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitTransactionDetails {
          __typename
          captureId
          transactionFee {
            value
            currencyCode
          }
          paymentId
        }
        ... on UsBankAccountTransactionDetails {
          __typename
          usBankAccount {
            __typename
            accountholderName
            accountType
            ownershipType
            bankName
            last4
            routingNumber
            verified
            achMandate {
              acceptedAt
            }
          }
          achType
          requestedAchType
        }
      }
      paymentMethod {
        __typename
        id
        legacyId
      }
      customer {
        __typename
        id
        legacyId
      }
      surchargeAmount
      lineItems {
        name
        kind
        quantity
        unitAmount
        totalAmount
        unitTaxAmount
        taxAmount
        discountAmount
        unitOfMeasure
        productCode
        commodityCode
        description
        url
        itemType
        imageUrl
        upc {
          upcCode
          upcType
        }
      }
      customFields {
        name
        value
      }
      descriptor {
        name
        phone
        url
      }
      disbursementDetails {
        date
        amount {
          value
          currencyCode
        }
        exchangeRate
        fundsHeld
      }
      paymentInitiatedAt
      merchantId
    }
  }
}
```

### Get transaction 3D Secure

Fetch any object that extends the Node interface using its ID.

```graphql
query getTransaction3DSecure($id: ID!, $authenticationInsightInput: AuthenticationInsightInput!)  {
  node(id: $id) {
    __typename
    ... on Transaction {
      id
      legacyId
      createdAt
      paymentMethodSnapshot {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
            authenticationInsight(input: $authenticationInsightInput) {
              merchantAccountId
              customerAuthenticationRegulationEnvironment
              customerAuthenticationIndicator
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          customField
          payer {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payee {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payerStatus
          paymentId
          sellerProtectionStatus
          taxId
          taxIdType
          transactionFee {
            value
            currencyCode
          }
          description
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          appUsedForScanning
          recipientEmail
          recipientPhone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          usBankAccountType: accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on LocalPaymentDetails {
          __typename
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          type
          displayName
          implicitlyVaultedPaymentMethodId
        }
        ... on CreditCardTransactionDetails {
          __typename
          creditCard {
            __typename
            brandCode
            last4
            bin
            binData {
              prepaid
              healthcare
              debit
              durbinRegulated
              commercial
              payroll
              issuingBank
              countryOfIssuance
              productId
              prepaidReloadable
              business
              consumer
              corporate
              purchase
            }
            expirationMonth
            expirationYear
            cardholderName
            uniqueNumberIdentifier
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            threeDSecure {
              authentication {
                cavv
                directoryServerTransactionId
                eciFlag
                liabilityShifted
                liabilityShiftPossible
                cardEnrolled
                authenticationStatus
                version
                xId
                threeDSecureServerTransactionId
                acsTransactionId
                paresStatus
                transactionStatus
                transactionStatusReason
              }
              authenticationInsight(input: $authenticationInsightInput) {
                merchantAccountId
                customerAuthenticationRegulationEnvironment
                customerAuthenticationIndicator
              }
            }
            cardOnFileNetworkTokenized
            paymentAccountReference
          }
          networkTransactionId
          creditCardTransactionAccountType: accountType
          acquirerReferenceNumber
          processedWithCardOnFileNetworkToken
          accountBalance {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitTransactionDetails {
          __typename
          captureId
          transactionFee {
            value
            currencyCode
          }
          paymentId
        }
        ... on UsBankAccountTransactionDetails {
          __typename
          usBankAccount {
            __typename
            accountholderName
            accountType
            ownershipType
            bankName
            last4
            routingNumber
            verified
            achMandate {
              acceptedAt
            }
          }
          achType
          requestedAchType
        }
      }
      paymentMethod {
        __typename
        id
        legacyId
      }
      amount {
        value
        currencyCode
      }
      initialRequestedAuthorizationAmount {
        value
        currencyCode
      }
      customFields {
        name
        value
      }
      merchantId
      merchantAccountId
      merchantName
      merchantAddress {
        company
        addressLine1
        addressLine2
        fullName
        adminArea2
        adminArea1
        postalCode
        countryCode
        phone {
          countryPhoneCode
          phoneNumber
          extensionNumber
        }
      }
      orderId
      purchaseOrderNumber
      status
      processorAuthorizationResponse {
        legacyCode
        message
        cvvResponse
        avsPostalCodeResponse
        avsStreetAddressResponse
        authorizationId
        additionalInformation
        retrievalReferenceNumber
        emvData
        mastercardTransactionLinkId
      }
      processorSettlementResponse {
        legacyCode
        message
        achReturnCode
        achRejectReason
      }
      riskData {
        id
        decision
        decisionReasons
        deviceDataCaptured
        fraudServiceProvider
        liabilityShift {
          responsibleParty
          conditions
        }
        score
      }
      descriptor {
        name
        phone
        url
      }
      statusHistory {
        __typename
        ... on AuthorizationExpiredEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on AuthorizedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          riskDecision
          terminal
          authorizationExpiresAt
          userName
        }
        ... on FailedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on GatewayRejectedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          gatewayRejectionReason
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          duplicateOf {
            __typename
            id
            legacyId
          }
          userName
        }
        ... on ProcessorDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          declineType
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on SettledEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          settlementBatchId
        }
        ... on SettlementDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
        ... on SettlementPendingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          userName
        }
        ... on SettlingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on SubmittedForSettlementEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on VoidedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on SettlementConfirmedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
      }
      channel
      source
      customer {
        __typename
        id
        legacyId
      }
      shipping {
        shippingAddress {
          company
          addressLine1
          addressLine2
          fullName
          adminArea2
          adminArea1
          postalCode
          countryCode
          phone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        shippingAmount
        shipsFromPostalCode
        shippingMethod
        packageTrackers {
          id
          trackingNumber
          carrier
          paypalTrackerId
        }
        shippingTaxAmount
      }
      tax {
        taxAmount
        taxExempt
      }
      scaExemptionRequested
      discountAmount
      surchargeAmount
      lineItems {
        name
        kind
        quantity
        unitAmount
        totalAmount
        unitTaxAmount
        taxAmount
        discountAmount
        unitOfMeasure
        productCode
        commodityCode
        description
        url
        itemType
        imageUrl
        upc {
          upcCode
          upcType
        }
      }
      refunds {
        __typename
        id
        legacyId
      }
      partialCaptureDetails {
        __typename
        ... on ChildCapture {
          __typename
          parentAuthorization {
            __typename
            id
            legacyId
          }
        }
        ... on ParentAuthorization {
          __typename
          childCaptures {
            __typename
            id
            legacyId
          }
          totalAmountAuthorized {
            value
            currencyCode
          }
        }
      }
      disputes {
        __typename
        id
        legacyId
      }
      facilitatorDetails {
        oauthApplication {
          clientId
          name
        }
      }
      disbursementDetails {
        date
        amount {
          value
          currencyCode
        }
        exchangeRate
        fundsHeld
      }
      billingAddress {
        company
        addressLine1
        addressLine2
        fullName
        adminArea2
        adminArea1
        postalCode
        countryCode
        phone {
          countryPhoneCode
          phoneNumber
          extensionNumber
        }
      }
      authorizationAdjustments {
        amount {
          value
          currencyCode
        }
        successful
        timestamp
        processorResponse {
          legacyCode
          message
          declineType
        }
      }
      retried
      retriedParentTransaction {
        __typename
        id
        legacyId
      }
      retriedTransactions {
        __typename
        id
        legacyId
      }
      upcomingRetryDate
      installmentDetails {
        count
        installments {
          id
          projectedDisbursementDate
          actualDisbursementDate
          amount
          adjustments {
            projectedDisbursementDate
            actualDisbursementDate
            amount
            type
          }
        }
      }
      paymentInitiatedAt
      processingMode
      partiallyAuthorized
    }
  }
}
```

### Get verification 3D Secure

Fetch any object that extends the Node interface using its ID.

```graphql
query getVerification3DSecure($id: ID!, $authenticationInsightInput: AuthenticationInsightInput!)  {
  node(id: $id) {
    __typename
    ... on Verification {
      id
      legacyId
      paymentMethodSnapshot {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
            authenticationInsight(input: $authenticationInsightInput) {
              merchantAccountId
              customerAuthenticationRegulationEnvironment
              customerAuthenticationIndicator
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          customField
          payer {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payee {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payerStatus
          paymentId
          sellerProtectionStatus
          taxId
          taxIdType
          transactionFee {
            value
            currencyCode
          }
          description
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          appUsedForScanning
          recipientEmail
          recipientPhone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          usBankAccountType: accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on LocalPaymentDetails {
          __typename
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          type
          displayName
          implicitlyVaultedPaymentMethodId
        }
        ... on CreditCardTransactionDetails {
          __typename
          creditCard {
            __typename
            brandCode
            last4
            bin
            binData {
              prepaid
              healthcare
              debit
              durbinRegulated
              commercial
              payroll
              issuingBank
              countryOfIssuance
              productId
              prepaidReloadable
              business
              consumer
              corporate
              purchase
            }
            expirationMonth
            expirationYear
            cardholderName
            uniqueNumberIdentifier
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            threeDSecure {
              authentication {
                cavv
                directoryServerTransactionId
                eciFlag
                liabilityShifted
                liabilityShiftPossible
                cardEnrolled
                authenticationStatus
                version
                xId
                threeDSecureServerTransactionId
                acsTransactionId
                paresStatus
                transactionStatus
                transactionStatusReason
              }
              authenticationInsight(input: $authenticationInsightInput) {
                merchantAccountId
                customerAuthenticationRegulationEnvironment
                customerAuthenticationIndicator
              }
            }
            cardOnFileNetworkTokenized
            paymentAccountReference
          }
          networkTransactionId
          creditCardTransactionAccountType: accountType
          acquirerReferenceNumber
          processedWithCardOnFileNetworkToken
          accountBalance {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitTransactionDetails {
          __typename
          captureId
          transactionFee {
            value
            currencyCode
          }
          paymentId
        }
        ... on UsBankAccountTransactionDetails {
          __typename
          usBankAccount {
            __typename
            accountholderName
            accountType
            ownershipType
            bankName
            last4
            routingNumber
            verified
            achMandate {
              acceptedAt
            }
          }
          achType
          requestedAchType
        }
      }
      paymentMethod {
        __typename
        id
        legacyId
      }
      merchantAccountId
      status
      processorResponse {
        legacyCode
        message
        cvvResponse
        avsPostalCodeResponse
        avsStreetAddressResponse
        additionalInformation
        mastercardTransactionLinkId
      }
      networkResponse {
        code
        message
      }
      createdAt
      gatewayRejectionReason
      riskData {
        id
        decision
        decisionReasons
        deviceDataCaptured
        fraudServiceProvider
        liabilityShift {
          responsibleParty
          conditions
        }
        score
      }
      paymentMethodVerificationDetails {
        __typename
        ... on UsBankAccountVerificationDetails {
          __typename
          method
          verificationDeterminedAt
        }
        ... on CreditCardVerificationDetails {
          __typename
          amount {
            value
            currencyCode
          }
        }
      }
    }
  }
}
```

### Get business account creation request

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getBusinessAccountCreationRequest($id: ID!) {
  node(id: $id) {
    __typename
    ... on BusinessAccountCreationRequest {
      id
      merchantAccount {
        id
        currencyCode
        dbaName
        externalId
        status
        isDefault
        paypalAccount {
          __typename
          billingAgreementId
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          shippingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          email
          phone
          payerId
          firstName
          lastName
          cobrandedCardLabel
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          limitedUseOrderId
          selectedFinancingOption {
            term
            monthlyPayment {
              value
              currencyCode
            }
            discountPercentage
            discountAmount {
              value
              currencyCode
            }
          }
          fundingSourceDescription
          vaultedBillingAgreementId
        }
        hyperwalletAccount {
          userId
        }
        venmoAccount {
          __typename
          username
          venmoUserId
        }
        threeDSecure {
          v1 {
            supportedCardBrands
          }
          v2 {
            supportedCardBrands
          }
        }
        capabilities {
          supportsPublicDescriptors
        }
        accountType
      }
      creationStatus
      completedAt
      submittedAt
    }
  }
}
```

### Get recurring billing subscription

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getRecurringBillingSubscription($id: ID!) {
  node(id: $id) {
    __typename
    ... on RecurringBillingSubscription {
      id
      legacyId
      payPalDescription
      status
      price
      balance
      billingDayOfMonth
      currentBillingCycle
      numberOfBillingCycles
      failureCount
      daysPastDue
      timeline {
        firstBillingDate
        nextBillingDate
        billingPeriodStartDate
        billingPeriodEndDate
        paidThroughDate
        createdAt
        updatedAt
      }
      nextBillingPeriodAmount
      trial {
        duration
        durationUnit
      }
      descriptor {
        companyName
        phoneNumber
        url
      }
      planId
      paymentMethodId
      merchantAccountId
      addOns {
        amount
        quantity
        currentBillingCycle
        numberOfBillingCycles
        addOnId
      }
      discounts {
        amount
        quantity
        currentBillingCycle
        numberOfBillingCycles
        discountId
      }
      transactionIds
      statusHistory {
        status
        balance
        price
        subscriptionSource
        timestamp
        planId
        currencyIsoCode
      }
    }
  }
}
```

### Get recurring billing subscription plan

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getRecurringBillingSubscriptionPlan($id: ID!) {
  node(id: $id) {
    __typename
    ... on RecurringBillingSubscriptionPlan {
      id
      legacyId
      name
      description
      price {
        value
        currencyCode
      }
      billingFrequency
      billingDayOfMonth
      numberOfBillingCycles
      trial {
        duration
        durationUnit
      }
      addOns {
        __typename
        id
        legacyId
      }
      discounts {
        __typename
        id
        legacyId
      }
      createdAt
      updatedAt
    }
  }
}
```

### Get recurring billing subscription plan add on

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getRecurringBillingSubscriptionPlanAddOn($id: ID!) {
  node(id: $id) {
    __typename
    ... on RecurringBillingSubscriptionPlanAddOn {
      id
      legacyId
      name
      description
      amount
      numberOfBillingCycles
      createdAt
      updatedAt
    }
  }
}
```

### Get recurring billing subscription plan discount

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getRecurringBillingSubscriptionPlanDiscount($id: ID!) {
  node(id: $id) {
    __typename
    ... on RecurringBillingSubscriptionPlanDiscount {
      id
      legacyId
      name
      description
      amount
      numberOfBillingCycles
      createdAt
      updatedAt
    }
  }
}
```

### Get verification

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getVerification($id: ID!) {
  node(id: $id) {
    __typename
    ... on Verification {
      id
      legacyId
      paymentMethodSnapshot {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          customField
          payer {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payee {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payerStatus
          paymentId
          sellerProtectionStatus
          taxId
          taxIdType
          transactionFee {
            value
            currencyCode
          }
          description
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          appUsedForScanning
          recipientEmail
          recipientPhone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          usBankAccountType: accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on LocalPaymentDetails {
          __typename
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          type
          displayName
          implicitlyVaultedPaymentMethodId
        }
        ... on CreditCardTransactionDetails {
          __typename
          creditCard {
            __typename
            brandCode
            last4
            bin
            binData {
              prepaid
              healthcare
              debit
              durbinRegulated
              commercial
              payroll
              issuingBank
              countryOfIssuance
              productId
              prepaidReloadable
              business
              consumer
              corporate
              purchase
            }
            expirationMonth
            expirationYear
            cardholderName
            uniqueNumberIdentifier
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            threeDSecure {
              authentication {
                cavv
                directoryServerTransactionId
                eciFlag
                liabilityShifted
                liabilityShiftPossible
                cardEnrolled
                authenticationStatus
                version
                xId
                threeDSecureServerTransactionId
                acsTransactionId
                paresStatus
                transactionStatus
                transactionStatusReason
              }
            }
            cardOnFileNetworkTokenized
            paymentAccountReference
          }
          networkTransactionId
          creditCardTransactionAccountType: accountType
          acquirerReferenceNumber
          processedWithCardOnFileNetworkToken
          accountBalance {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitTransactionDetails {
          __typename
          captureId
          transactionFee {
            value
            currencyCode
          }
          paymentId
        }
        ... on UsBankAccountTransactionDetails {
          __typename
          usBankAccount {
            __typename
            accountholderName
            accountType
            ownershipType
            bankName
            last4
            routingNumber
            verified
            achMandate {
              acceptedAt
            }
          }
          achType
          requestedAchType
        }
      }
      paymentMethod {
        __typename
        id
        legacyId
      }
      merchantAccountId
      status
      processorResponse {
        legacyCode
        message
        cvvResponse
        avsPostalCodeResponse
        avsStreetAddressResponse
        additionalInformation
        mastercardTransactionLinkId
      }
      networkResponse {
        code
        message
      }
      createdAt
      gatewayRejectionReason
      riskData {
        id
        decision
        decisionReasons
        deviceDataCaptured
        fraudServiceProvider
        liabilityShift {
          responsibleParty
          conditions
        }
        score
      }
      paymentMethodVerificationDetails {
        __typename
        ... on UsBankAccountVerificationDetails {
          __typename
          method
          verificationDeterminedAt
        }
        ... on CreditCardVerificationDetails {
          __typename
          amount {
            value
            currencyCode
          }
        }
      }
    }
  }
}
```

### Get local payment context

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getLocalPaymentContext($id: ID!) {
  node(id: $id) {
    __typename
    ... on LocalPaymentContext {
      id
      legacyId
      type
      approvalUrl
      amount {
        value
        currencyCode
      }
      merchantAccountId
      transactedAt
      approvedAt
      createdAt
      updatedAt
      expiredAt
      paymentId
      orderId
    }
  }
}
```

### Get venmo payment context

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getVenmoPaymentContext($id: ID!) {
  node(id: $id) {
    __typename
    ... on VenmoPaymentContext {
      id
      merchantId
      intent
      createdAt
      updatedAt
      status
      environment
      isFinalAmount
      expiresAt
      paymentMethodId
      clientSDKMetadata {
        platform
        sessionId
        version
        integration
      }
      paymentMethodUsage
      customerClient
      merchantProfileId
      parentPaymentContextId
      displayName
      payerInfo {
        firstName
        lastName
        phoneNumber
        email
        externalId
        userName
        billingAddress {
          company
          addressLine1
          addressLine2
          fullName
          adminArea2
          adminArea1
          postalCode
          countryCode
          phone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        shippingAddress {
          company
          addressLine1
          addressLine2
          fullName
          adminArea2
          adminArea1
          postalCode
          countryCode
          phone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
      }
      paysheetDetails {
        collectCustomerBillingAddress
        collectCustomerShippingAddress
        transactionDetails {
          subTotalAmount
          taxAmount
          discountAmount
          shippingAmount
          totalAmount
          venmoPaysheetLineItems {
            name
            quantity
            unitAmount
            type
            description
            productCode
            unitTaxAmount
            url
          }
        }
      }
      returnUrl
      venmoRiskCorrelationId
      appSwitchContext {
        mobileWeb {
          buyerUserAgent
          isIncognito
        }
      }
    }
  }
}
```

### Get payment method

Fetch any object that extends the Node interface using its ID.

```graphql
query getPaymentMethod($id: ID!, $verificationsFirst: Int, $verificationsAfter: String)  {
  node(id: $id) {
    __typename
    ... on PaymentMethod {
      id
      legacyId
      usage
      createdAt
      details {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalAccountDetails {
          __typename
          billingAgreementId
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          shippingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          email
          phone
          payerId
          firstName
          lastName
          cobrandedCardLabel
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          limitedUseOrderId
          selectedFinancingOption {
            term
            monthlyPayment {
              value
              currencyCode
            }
            discountPercentage
            discountAmount {
              value
              currencyCode
            }
          }
          fundingSourceDescription
          vaultedBillingAgreementId
        }
        ... on SamsungPayCardDetails {
          __typename
          brand
          brandCode
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          sourceCardLast4
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on SEPADirectDebitAccountDetails {
          __typename
          merchantOrPartnerCustomerId
          last4
          bankReferenceToken
          mandateType
        }
      }
      verifications(first: $verificationsFirst, after: $verificationsAfter) {
        edges {
          cursor
          node {
            __typename
            id
            legacyId
          }
        }
        pageInfo {
          hasNextPage
          hasPreviousPage
          startCursor
          endCursor
        }
      }
      customer {
        __typename
        id
        legacyId
      }
    }
  }
}
```

### Get custom actions payment context

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getCustomActionsPaymentContext($id: ID!) {
  node(id: $id) {
    __typename
    ... on CustomActionsPaymentContext {
      id
      createdAt
      updatedAt
      customFields {
        name
        value
      }
    }
  }
}
```

### Get refund

The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.

```graphql
query getRefund($id: ID!) {
  node(id: $id) {
    __typename
    ... on Refund {
      id
      legacyId
      createdAt
      amount {
        value
        currencyCode
      }
      orderId
      status
      processorAuthorizationResponse {
        legacyCode
        message
        cvvResponse
        avsPostalCodeResponse
        avsStreetAddressResponse
        authorizationId
        additionalInformation
        retrievalReferenceNumber
        emvData
        mastercardTransactionLinkId
      }
      statusHistory {
        __typename
        ... on AuthorizationExpiredEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on AuthorizedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          riskDecision
          terminal
          authorizationExpiresAt
          userName
        }
        ... on FailedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on GatewayRejectedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          gatewayRejectionReason
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          duplicateOf {
            __typename
            id
            legacyId
          }
          userName
        }
        ... on ProcessorDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          declineType
          processorResponse {
            legacyCode
            message
            cvvResponse
            avsPostalCodeResponse
            avsStreetAddressResponse
            authorizationId
            additionalInformation
            retrievalReferenceNumber
            emvData
            mastercardTransactionLinkId
          }
          networkResponse {
            code
            message
          }
          merchantAdviceCodeResponse {
            code
            message
          }
          riskDecision
          terminal
          userName
        }
        ... on SettledEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          settlementBatchId
        }
        ... on SettlementDeclinedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
        ... on SettlementPendingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
          userName
        }
        ... on SettlingEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
        }
        ... on SubmittedForSettlementEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on VoidedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          terminal
          userName
        }
        ... on SettlementConfirmedEvent {
          __typename
          status
          timestamp
          amount {
            value
            currencyCode
          }
          source
          processorResponse {
            legacyCode
            message
            achReturnCode
            achRejectReason
          }
          terminal
        }
      }
      details {
        __typename
        ... on PayPalRefundDetails {
          __typename
          payPalRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
          description
          reason
        }
        ... on PayPalLocalPaymentRefundDetails {
          __typename
          payPalLocalPaymentRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitRefundDetails {
          __typename
          sEPADirectDebitRefundId: refundId
          refundedFee {
            value
            currencyCode
          }
          paymentId
        }
      }
      merchantAccountId
      source
      refundedTransaction {
        __typename
        id
        legacyId
      }
      paymentMethodSnapshot {
        __typename
        ... on CustomActionsPaymentMethodDetails {
          __typename
          actionName
          fields {
            name
            displayValue
          }
        }
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          binData {
            prepaid
            healthcare
            debit
            durbinRegulated
            commercial
            payroll
            issuingBank
            countryOfIssuance
            productId
            prepaidReloadable
            business
            consumer
            corporate
            purchase
          }
          expirationMonth
          expirationYear
          cardholderName
          uniqueNumberIdentifier
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          billingAddress {
            company
            addressLine1
            addressLine2
            fullName
            adminArea2
            adminArea1
            postalCode
            countryCode
            phone {
              countryPhoneCode
              phoneNumber
              extensionNumber
            }
          }
          threeDSecure {
            authentication {
              cavv
              directoryServerTransactionId
              eciFlag
              liabilityShifted
              liabilityShiftPossible
              cardEnrolled
              authenticationStatus
              version
              xId
              threeDSecureServerTransactionId
              acsTransactionId
              paresStatus
              transactionStatus
              transactionStatusReason
            }
          }
          cardOnFileNetworkTokenized
          paymentAccountReference
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          customField
          payer {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payee {
            __typename
            billingAgreementId
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            shippingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            email
            phone
            payerId
            firstName
            lastName
            cobrandedCardLabel
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            limitedUseOrderId
            selectedFinancingOption {
              term
              monthlyPayment {
                value
                currencyCode
              }
              discountPercentage
              discountAmount {
                value
                currencyCode
              }
            }
            fundingSourceDescription
            vaultedBillingAgreementId
          }
          payerStatus
          paymentId
          sellerProtectionStatus
          taxId
          taxIdType
          transactionFee {
            value
            currencyCode
          }
          description
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          appUsedForScanning
          recipientEmail
          recipientPhone {
            countryPhoneCode
            phoneNumber
            extensionNumber
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
        ... on UsBankAccountDetails {
          __typename
          accountholderName
          usBankAccountType: accountType
          ownershipType
          bankName
          last4
          routingNumber
          verified
          achMandate {
            acceptedAt
          }
        }
        ... on LocalPaymentDetails {
          __typename
          origin {
            type
            details {
              __typename
              ... on ApplePayOriginDetails {
                __typename
                paymentInstrumentName
                bin
                merchantTokenIdentifier
                dpanLastTwo
                isDeviceToken
                last4
                paymentAccountReference
              }
              ... on GooglePayOriginDetails {
                __typename
                googleTransactionId
                bin
                last4
                paymentAccountReference
              }
              ... on MasterpassOriginDetails {
                __typename
                bin
              }
              ... on MetaCheckoutOriginDetails {
                __typename
                containerId
                bin
              }
              ... on NetworkTokenOriginDetails {
                __typename
                bin
              }
              ... on SamsungPayOriginDetails {
                __typename
                bin
              }
              ... on VisaCheckoutOriginDetails {
                __typename
                callId
                bin
              }
              ... on PayPalLocalPaymentOriginDetails {
                __typename
                captureId
                customField
                paymentId
                transactionFee {
                  value
                  currencyCode
                }
                blikAliases {
                  key
                  label
                }
              }
              ... on CardPresentOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                readerId
                storeId
              }
              ... on EmvCardOriginDetails {
                __typename
                authorizationMode
                pinVerified
                inputMode
                terminalId
                applicationPreferredName
                applicationIdentifier
                terminalVerificationResult
                cardSequenceNumber
                applicationInterchangeProfile
                terminalTransactionDate
                terminalTransactionType
                cashbackAmount
                applicationUsageControl
                terminalCountryCode
                applicationCryptogram
                cryptogramInformationData
                cardholderVerificationMethodResults
                applicationTransactionCounter
                unpredictableNumber
                issuerActionCodeDefault
                issuerActionCodeDenial
                issuerActionCodeOnline
                readerId
                storeId
              }
            }
          }
          type
          displayName
          implicitlyVaultedPaymentMethodId
        }
        ... on CreditCardTransactionDetails {
          __typename
          creditCard {
            __typename
            brandCode
            last4
            bin
            binData {
              prepaid
              healthcare
              debit
              durbinRegulated
              commercial
              payroll
              issuingBank
              countryOfIssuance
              productId
              prepaidReloadable
              business
              consumer
              corporate
              purchase
            }
            expirationMonth
            expirationYear
            cardholderName
            uniqueNumberIdentifier
            origin {
              type
              details {
                __typename
                ... on ApplePayOriginDetails {
                  __typename
                  paymentInstrumentName
                  bin
                  merchantTokenIdentifier
                  dpanLastTwo
                  isDeviceToken
                  last4
                  paymentAccountReference
                }
                ... on GooglePayOriginDetails {
                  __typename
                  googleTransactionId
                  bin
                  last4
                  paymentAccountReference
                }
                ... on MasterpassOriginDetails {
                  __typename
                  bin
                }
                ... on MetaCheckoutOriginDetails {
                  __typename
                  containerId
                  bin
                }
                ... on NetworkTokenOriginDetails {
                  __typename
                  bin
                }
                ... on SamsungPayOriginDetails {
                  __typename
                  bin
                }
                ... on VisaCheckoutOriginDetails {
                  __typename
                  callId
                  bin
                }
                ... on PayPalLocalPaymentOriginDetails {
                  __typename
                  captureId
                  customField
                  paymentId
                  transactionFee {
                    value
                    currencyCode
                  }
                  blikAliases {
                    key
                    label
                  }
                }
                ... on CardPresentOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  readerId
                  storeId
                }
                ... on EmvCardOriginDetails {
                  __typename
                  authorizationMode
                  pinVerified
                  inputMode
                  terminalId
                  applicationPreferredName
                  applicationIdentifier
                  terminalVerificationResult
                  cardSequenceNumber
                  applicationInterchangeProfile
                  terminalTransactionDate
                  terminalTransactionType
                  cashbackAmount
                  applicationUsageControl
                  terminalCountryCode
                  applicationCryptogram
                  cryptogramInformationData
                  cardholderVerificationMethodResults
                  applicationTransactionCounter
                  unpredictableNumber
                  issuerActionCodeDefault
                  issuerActionCodeDenial
                  issuerActionCodeOnline
                  readerId
                  storeId
                }
              }
            }
            billingAddress {
              company
              addressLine1
              addressLine2
              fullName
              adminArea2
              adminArea1
              postalCode
              countryCode
              phone {
                countryPhoneCode
                phoneNumber
                extensionNumber
              }
            }
            threeDSecure {
              authentication {
                cavv
                directoryServerTransactionId
                eciFlag
                liabilityShifted
                liabilityShiftPossible
                cardEnrolled
                authenticationStatus
                version
                xId
                threeDSecureServerTransactionId
                acsTransactionId
                paresStatus
                transactionStatus
                transactionStatusReason
              }
            }
            cardOnFileNetworkTokenized
            paymentAccountReference
          }
          networkTransactionId
          creditCardTransactionAccountType: accountType
          acquirerReferenceNumber
          processedWithCardOnFileNetworkToken
          accountBalance {
            value
            currencyCode
          }
        }
        ... on SEPADirectDebitTransactionDetails {
          __typename
          captureId
          transactionFee {
            value
            currencyCode
          }
          paymentId
        }
        ... on UsBankAccountTransactionDetails {
          __typename
          usBankAccount {
            __typename
            accountholderName
            accountType
            ownershipType
            bankName
            last4
            routingNumber
            verified
            achMandate {
              acceptedAt
            }
          }
          achType
          requestedAchType
        }
      }
      paymentMethod {
        __typename
        id
        legacyId
      }
      customer {
        __typename
        id
        legacyId
      }
      surchargeAmount
      lineItems {
        name
        kind
        quantity
        unitAmount
        totalAmount
        unitTaxAmount
        taxAmount
        discountAmount
        unitOfMeasure
        productCode
        commodityCode
        description
        url
        itemType
        imageUrl
        upc {
          upcCode
          upcType
        }
      }
      customFields {
        name
        value
      }
      descriptor {
        name
        phone
        url
      }
      disbursementDetails {
        date
        amount {
          value
          currencyCode
        }
        exchangeRate
        fundsHeld
      }
      paymentInitiatedAt
      merchantId
    }
  }
}
```

### Retrieve a customer with paginated payment methods and transactions

Fetches a customer by ID including paginated payment methods and transactions. Demonstrates the @sdkGen(wrapInputs: true) pattern with multiple top-level variables (id, paymentMethodsFirst, paymentMethodsAfter, etc).


```graphql
query getCustomer($id: ID!, $paymentMethodsFirst: Int, $paymentMethodsAfter: String, $transactionsFirst: Int, $transactionsAfter: String) {
  node(id: $id) {
    ... on Customer {
      id
      legacyId
      company
      createdAt
      customFields {
        name
        value
      }
      defaultPaymentMethod {
        id
        legacyId
      }
      email
      firstName
      lastName
      phoneNumber
      fax
      website
      paymentMethods(first: $paymentMethodsFirst, after: $paymentMethodsAfter) {
        edges {
          cursor
          node {
            id
            legacyId
          }
        }
        pageInfo {
          hasNextPage
          hasPreviousPage
          startCursor
          endCursor
        }
      }
      transactions(first: $transactionsFirst, after: $transactionsAfter) {
        edges {
          cursor
          node {
            id
            legacyId
          }
        }
        pageInfo {
          hasNextPage
          hasPreviousPage
          startCursor
          endCursor
        }
      }
    }
  }
}
```

#### Variables

```json
{
  "id": "Y3VzdG9tZXJfYWxpY2U",
  "paymentMethodsFirst": 5,
  "transactionsFirst": 10
}
```

#### Response

```json
{
  "data": {
    "node": {
      "id": "Y3VzdG9tZXJfYWxpY2U",
      "legacyId": "customer_alice_001",
      "firstName": "Alice",
      "lastName": "Smith",
      "email": "alice.smith@example.com",
      "company": "Acme Corp",
      "phoneNumber": "+15551234567",
      "website": "https://acme.example.com",
      "createdAt": "2024-06-15T10:00:00.000Z",
      "customFields": [
        {
          "name": "loyalty_tier",
          "value": "gold"
        }
      ],
      "defaultPaymentMethod": {
        "id": "cGF5bWVudG1ldGhvZF92aXNh",
        "legacyId": "visa_token_001"
      },
      "paymentMethods": {
        "edges": [
          {
            "cursor": "cursor_pm_1",
            "node": {
              "id": "cGF5bWVudG1ldGhvZF92aXNh",
              "legacyId": "visa_token_001"
            }
          },
          {
            "cursor": "cursor_pm_2",
            "node": {
              "id": "cGF5bWVudG1ldGhvZF9wYXlwYWw",
              "legacyId": "paypal_token_001"
            }
          }
        ],
        "pageInfo": {
          "hasNextPage": false,
          "hasPreviousPage": false,
          "startCursor": "cursor_pm_1",
          "endCursor": "cursor_pm_2"
        }
      },
      "transactions": {
        "edges": [
          {
            "cursor": "cursor_txn_1",
            "node": {
              "id": "dHJhbnNhY3Rpb25fMQ",
              "legacyId": "txn_001"
            }
          }
        ],
        "pageInfo": {
          "hasNextPage": true,
          "hasPreviousPage": false,
          "startCursor": "cursor_txn_1",
          "endCursor": "cursor_txn_1"
        }
      }
    }
  },
  "extensions": {
    "requestId": "get-cust-request-id"
  }
}
```

### Retrieve a transaction by ID with union payment snapshot

Fetches a transaction by its global ID, returning payment details including a union type for the payment method snapshot (CreditCardDetails, PayPalTransactionDetails, VenmoAccountDetails, etc).


```graphql
query getTransaction($id: ID!) {
  node(id: $id) {
    ... on Transaction {
      id
      legacyId
      createdAt
      paymentMethodSnapshot {
        ... on CreditCardDetails {
          __typename
          brandCode
          last4
          bin
          expirationMonth
          expirationYear
          cardholderName
        }
        ... on PayPalTransactionDetails {
          __typename
          authorizationId
          captureId
          payer {
            email
            payerId
            firstName
            lastName
          }
        }
        ... on VenmoAccountDetails {
          __typename
          username
          venmoUserId
        }
      }
    }
  }
}
```

#### Variables

```json
{
  "id": "dHJhbnNhY3Rpb25fYWJjMTIz"
}
```

#### Response

```json
{
  "data": {
    "node": {
      "id": "dHJhbnNhY3Rpb25fYWJjMTIz",
      "legacyId": "abc123",
      "createdAt": "2024-06-15T10:30:00.000Z",
      "paymentMethodSnapshot": {
        "__typename": "CreditCardDetails",
        "brandCode": "VISA",
        "last4": "1881",
        "bin": "411111",
        "expirationMonth": "12",
        "expirationYear": "2026",
        "cardholderName": "Jane Doe"
      }
    }
  },
  "extensions": {
    "requestId": "get-txn-request-id"
  }
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)