POST api/cardService/v1/fundSource/ACH/validate

Request Information

URI Parameters

None.

Body Parameters

ValidateACHRequest
NameDescriptionTypeAdditional information
Amount1

integer

Required

Amount2

integer

Required

ACHId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Amount1": 1,
  "Amount2": 2,
  "ACHId": 3
}

application/xml, text/xml

Sample:
<ValidateACHRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Payment">
  <ACHId>3</ACHId>
  <Amount1>1</Amount1>
  <Amount2>2</Amount2>
</ValidateACHRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidateACHResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ValidateACHResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Payment">
  <ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorCodes>
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">true</IsSuccess>
  <Message xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">sample string 2</Message>
</ValidateACHResponse>