| POST | /ach/verify | Verifies the ACH Details. |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AchVerificationRq extends AchVerificationRq
{
}
public static class AchVerificationRs
{
@ApiMember(ExcludeInSchema=true)
public Boolean IsSuccessful = null;
public Integer ApiResultCode = null;
public Integer ApiCustomerResultCode = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public String AchRef = null;
public Boolean getIsSuccessful() { return IsSuccessful; }
public AchVerificationRs setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; }
public Integer getApiResultCode() { return ApiResultCode; }
public AchVerificationRs setApiResultCode(Integer value) { this.ApiResultCode = value; return this; }
public Integer getApiCustomerResultCode() { return ApiCustomerResultCode; }
public AchVerificationRs setApiCustomerResultCode(Integer value) { this.ApiCustomerResultCode = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public AchVerificationRs setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public AchVerificationRs setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public String getAchRef() { return AchRef; }
public AchVerificationRs setAchRef(String value) { this.AchRef = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ach/verify HTTP/1.1
Host: devapi.billhighway.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"IsAchRef":false,"UserId":0,"ChapId":0,"RoutingNumber":"String","AccountNumber":"String","Currency":"String","AccountType":"String","CustomerInfo":{"BusinessName":"String","FirstName":"String","LastName":"String"},"UseAlternateVerifyCodeMapping":false,"IncludeCustomerVerification":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"IsSuccessful":false,"ApiResultCode":0,"ApiCustomerResultCode":0,"ErrorCode":0,"ErrorMessage":"String","AchRef":"String"}