DELETE api/Payment/{accountNumber}/DeleteBankAccountInfo

Deletes a bank account on the account. Sequence must be provided.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

The account number

string

Required

Body Parameters

The bank account info object

BankAccountInfoDto
NameDescriptionTypeAdditional information
Sequence

Sequence number

integer

None.

RoutingNumber

The bank account routing number

string

None.

BankAccountNumber

The Checking account number

string

None.

BankAccountType

The type of bank account. One of {Checking, Savings} or one of {C, S}

string

None.

Name

The name of the bank account

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sequence": 1,
  "RoutingNumber": "sample string 2",
  "BankAccountNumber": "sample string 3",
  "BankAccountType": "sample string 4",
  "Name": "sample string 5"
}

application/xml, text/xml

Sample:
<BankAccountInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models">
  <BankAccountNumber>sample string 3</BankAccountNumber>
  <BankAccountType>sample string 4</BankAccountType>
  <Name>sample string 5</Name>
  <RoutingNumber>sample string 2</RoutingNumber>
  <Sequence>1</Sequence>
</BankAccountInfoDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A boolean indicating success

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.