I’m trying to automate reconciliation for my accounting team by querying the payouts, and the documentation https://shopify.dev/docs/api/admin-graphql/2023-10/objects/ShopifyPaymentsPayout specifies the ShopifyPaymentsBankAccount object that should be getting returned. For Shopify Payments I’m able to see the bank account and fields I need (id, bankName, accountingNumberLastDigits, country) however for Shopify Installment transactions it returns a null. Is there a ticket tracking this or a different query that will return the bank account information?
Here’s an example query of what I’m running:
query {
shopifyPaymentsAccount {
__typename
id
activated
country
defaultCurrency
payouts (first:100, reverse:true) {
edges {
cursor
node {
id
net {
amount
currencyCode
}
issuedAt
transactionType
status
bankAccount {
id
bankName
accountNumberLastDigits
country
createdAt
currency
status
}
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
}