GET v1/PaymentAccount/BankAccount?PolicyNumber={PolicyNumber}

Retrieve Bank Account Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PolicyNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Retrieve Bank Account Details

Collection of EftOutboundDTO
NameDescriptionTypeAdditional information
BankTransitNumber

Bank routing / transit code

string

None.

Last4Digits

Last 4 digits of bank account number

string

None.

AccountHolderName

Name of the bank account holder

string

None.

EFTBankAccountType

BankAccountTypeEnum

None.

Id

Primary Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BankTransitNumber": "sample string 1",
    "Last4Digits": "sample string 2",
    "AccountHolderName": "sample string 3",
    "EFTBankAccountType": "Unknown",
    "Id": 4
  },
  {
    "BankTransitNumber": "sample string 1",
    "Last4Digits": "sample string 2",
    "AccountHolderName": "sample string 3",
    "EFTBankAccountType": "Unknown",
    "Id": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfEftOutboundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <EftOutboundDTO>
    <Expand xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models"></Expand>
    <Expansions xmlns:d3p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models" />
    <Id xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models">4</Id>
    <AccountHolderName>sample string 3</AccountHolderName>
    <BankTransitNumber>sample string 1</BankTransitNumber>
    <EFTBankAccountType>Unknown</EFTBankAccountType>
    <Last4Digits>sample string 2</Last4Digits>
  </EftOutboundDTO>
  <EftOutboundDTO>
    <Expand xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models"></Expand>
    <Expansions xmlns:d3p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models" />
    <Id xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models">4</Id>
    <AccountHolderName>sample string 3</AccountHolderName>
    <BankTransitNumber>sample string 1</BankTransitNumber>
    <EFTBankAccountType>Unknown</EFTBankAccountType>
    <Last4Digits>sample string 2</Last4Digits>
  </EftOutboundDTO>
</ArrayOfEftOutboundDTO>