Skip to main content

Get Payment Type Bank Accounts

GET 

/api/payment-types/accounting-accounts

List the connected accounting system's bank accounts a payment type can be mapped to (Xero BANK accounts, or QuickBooks bank and credit card accounts), and whether supplier payments need that mapping.

Required scope: settings:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Response fields:

  • provider: xero, qbo, or null when no accounting system is connected
  • provider_name: display name of the provider, or null
  • requires_mapping: true when supplier payments push to the provider, so a payment type without a bank account is refused
  • sync_start_date: payments dated before this (Y-m-d) never sync and need no bank account; null when unset
  • accounts: id, name and code of each active account; pass an id as accounting_integration_id when creating or updating a payment type

Request​

Responses​

OK

Response Headers
    Content-Type