{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/transfers-counterparty-schema.json",
  "title": "Counterparty",
  "description": "Counterparty schema from Adyen API",
  "type": "object",
  "properties": {
    "accountHolderId": {
      "description": "The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided.",
      "type": "string"
    },
    "balanceAccountId": {
      "description": "The identifier of the balance account that belongs to the receiving account holder.",
      "type": "string"
    },
    "transferInstrumentId": {
      "description": "The identifier of the transfer instrument that belongs to the legal entity of the account holder.",
      "type": "string"
    }
  }
}