POST accounts/{applicationUid}/bankaccounts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
applicationUid

globally unique identifier

Required

Body Parameters

BankAccountModel
NameDescriptionTypeAdditional information
DomesticBank

DomesticBankModel

None.

NameOnAccount

string

None.

AccountNumber

string

None.

BankAccountType

BankAccountType

None.

PlaidDetails

BankAccountPlaidDetailsModel

None.

Request Formats

application/json, text/json

Sample:
{
  "DomesticBank": {
    "Name": "sample string 1",
    "Address": {
      "Street": "sample string 1",
      "AptOrSuite": "sample string 2",
      "City": "sample string 3",
      "CountryIso3Code": "sample string 4",
      "PostalCode": "sample string 5",
      "State": "sample string 6"
    },
    "Phone": "sample string 2",
    "ABARoutingNumber": "sample string 3",
    "ACHRoutingNumber": "sample string 4",
    "WireRoutingNumber": "sample string 5",
    "SortCode": "sample string 6",
    "OfficialSourceGuid": "981c5636-ad32-49ec-921f-0d55316a2902"
  },
  "NameOnAccount": "sample string 1",
  "AccountNumber": "sample string 2",
  "BankAccountType": 1,
  "PlaidDetails": {
    "PublicToken": "sample string 1",
    "BankName": "sample string 2",
    "BankAccounts": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<BankAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration.BankAccounts">
  <AccountNumber>sample string 2</AccountNumber>
  <BankAccountType>Checking</BankAccountType>
  <DomesticBank>
    <ABARoutingNumber>sample string 3</ABARoutingNumber>
    <ACHRoutingNumber>sample string 4</ACHRoutingNumber>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/GBI.WebAPI.RegistrationGateway.Business.Models.Registration.Shared">
      <d3p1:AptOrSuite>sample string 2</d3p1:AptOrSuite>
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:CountryIso3Code>sample string 4</d3p1:CountryIso3Code>
      <d3p1:PostalCode>sample string 5</d3p1:PostalCode>
      <d3p1:State>sample string 6</d3p1:State>
      <d3p1:Street>sample string 1</d3p1:Street>
    </Address>
    <Name>sample string 1</Name>
    <OfficialSourceGuid>981c5636-ad32-49ec-921f-0d55316a2902</OfficialSourceGuid>
    <Phone>sample string 2</Phone>
    <SortCode>sample string 6</SortCode>
    <WireRoutingNumber>sample string 5</WireRoutingNumber>
  </DomesticBank>
  <NameOnAccount>sample string 1</NameOnAccount>
  <PlaidDetails>
    <BankAccounts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </BankAccounts>
    <BankName>sample string 2</BankName>
    <PublicToken>sample string 1</PublicToken>
  </PlaidDetails>
</BankAccountModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.