bankTransactionApprove

Approve a bank transaction, creating the manual payment and applying it. The bankTransactionApprove mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: billing:write

mutation bankTransactionApprove ($id: ID!, $invoiceIds: [ID!]) {
  bankTransactionApprove (id: $id, invoiceIds: $invoiceIds) {
      bankTransaction {
        amount
        approvedAt
        approvedByUserId
        bankAccountId
        bankTransactionImportId
        createdAt
        currencyId
        description
        entityId
        id
        ignoredAt
        memo
        paymentId
        suggestedInvoiceCount
        suggestedMatchSource
        transactionDate
        transactionGuid
        updatedAt
        warrenId
      }
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "invoiceIds": [
    "456123"
  ]
}
Name Type Description
id ID  
invoiceIds List (ID)  

ResponseLink to Response section

Name Type Description
bankTransaction BankTransaction  
errors List (String)