mutation AuthorizeVenmoAccount($input: AuthorizeVenmoAccountInput!) {
    authorizeVenmoAccount(input: $input) {
        transaction {
            id
            legacyId
            merchantAccountId
            amount {
                value
                currencyCode
            }
            createdAt
            status
            statusHistory {
                __typename
                status
                source
                ... on FailedEvent {
                    processorResponse {
                        message
                        legacyCode
                    }
                }
                ... on GatewayRejectedEvent {
                    processorResponse {
                        message
                        legacyCode
                    }
                }
                ... on ProcessorDeclinedEvent {
                    processorResponse {
                        message
                        legacyCode
                    }
                }
                ... on SettlementDeclinedEvent {
                    processorResponse {
                        message
                        legacyCode
                    }
                }
            }
            paymentMethodSnapshot {
                __typename
            }
            paymentMethod {
                id
                legacyId
                details {
                    __typename
                    ... on VenmoAccountDetails {
                        username
                        venmoUserId
                    }
                }
            }
        }
    }
}
