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

Update Bank Account Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PolicyNumber

string

Required

Body Parameters

Bank account details

EftInboundDTO
NameDescriptionTypeAdditional information
Id

EFT master id, use for existing bank account.

integer

None.

BankTransitNumber

Bank routing / transit code (Required if Id not set)

string

None.

AccountHolderName

Name of the bank account holder (Required if Id not set)

string

None.

AccountNumber

Bank account number (Required if Id not set)

string

None.

EFTBankAccountType

Bank account type (Checking, Savings) (Required if Id not set)

BankAccountTypeEnum

None.

Expand

Comma separated list of expansions to include in results

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BankTransitNumber": "sample string 2",
  "AccountHolderName": "sample string 3",
  "AccountNumber": "sample string 4",
  "EFTBankAccountType": "Unknown",
  "Expand": ""
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Update Bank Account Details

IdResponseDTO
NameDescriptionTypeAdditional information
Id

Primary Id

integer

None.

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.