PUT api/merchant/ach/accounts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AchAccount
NameDescriptionTypeAdditional information
ID

integer

None.

PersonID

integer

None.

RoutingNumber

string

None.

RoutingNumberMasked

string

None.

AccountNumber

string

None.

AccountNumberMasked

string

None.

AccountTypeID

integer

None.

FirstName

string

None.

LastName

string

None.

Address

AchAddress

None.

IsDefault

boolean

None.

IsFamilyDefault

boolean

None.

MaxRefund

decimal number

None.

IsModified

boolean

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PersonID": 2,
  "RoutingNumber": "sample string 3",
  "RoutingNumberMasked": "sample string 4",
  "AccountNumber": "sample string 5",
  "AccountNumberMasked": "sample string 6",
  "AccountTypeID": 7,
  "FirstName": "sample string 8",
  "LastName": "sample string 9",
  "Address": {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "City": "sample string 3",
    "StateProvince": "sample string 4",
    "PostalCode": "sample string 5"
  },
  "IsDefault": true,
  "IsFamilyDefault": true,
  "MaxRefund": 12.0,
  "IsModified": true,
  "IsDeleted": true
}

application/javascript

Sample:
{"ID":1,"PersonID":2,"RoutingNumber":"sample string 3","RoutingNumberMasked":"sample string 4","AccountNumber":"sample string 5","AccountNumberMasked":"sample string 6","AccountTypeID":7,"FirstName":"sample string 8","LastName":"sample string 9","Address":{"AddressLine1":"sample string 1","AddressLine2":"sample string 2","City":"sample string 3","StateProvince":"sample string 4","PostalCode":"sample string 5"},"IsDefault":true,"IsFamilyDefault":true,"MaxRefund":12.0,"IsModified":true,"IsDeleted":true}

application/xml, text/xml

Sample:
<AchAccount xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <PersonID>2</PersonID>
  <RoutingNumber>sample string 3</RoutingNumber>
  <RoutingNumberMasked>sample string 4</RoutingNumberMasked>
  <AccountNumber>sample string 5</AccountNumber>
  <AccountNumberMasked>sample string 6</AccountNumberMasked>
  <AccountTypeID>7</AccountTypeID>
  <FirstName>sample string 8</FirstName>
  <LastName>sample string 9</LastName>
  <Address>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <City>sample string 3</City>
    <StateProvince>sample string 4</StateProvince>
    <PostalCode>sample string 5</PostalCode>
  </Address>
  <IsDefault>true</IsDefault>
  <IsFamilyDefault>true</IsFamilyDefault>
  <MaxRefund>12</MaxRefund>
  <IsModified>true</IsModified>
  <IsDeleted>true</IsDeleted>
</AchAccount>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AchAccount'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/javascript

Sample:

Sample not available.