| POST | /ach/verify | Verifies the ACH Details. |
|---|
namespace BH.CloudAPI.Common4.DTO.AchVerification
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type AchVerificationRs() =
[<ApiMember(ExcludeInSchema=true)>]
member val IsSuccessful:Boolean = new Boolean() with get,set
member val ApiResultCode:Nullable<Int32> = new Nullable<Int32>() with get,set
member val ApiCustomerResultCode:Nullable<Int32> = new Nullable<Int32>() with get,set
member val ErrorCode:Int32 = new Int32() with get,set
member val ErrorMessage:String = null with get,set
member val AchRef:String = null with get,set
[<AllowNullLiteral>]
type AchVerificationRq() =
inherit AchVerificationRq()
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
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/jsv
Content-Length: length
{
IsSuccessful: False,
ApiResultCode: 0,
ApiCustomerResultCode: 0,
ErrorCode: 0,
ErrorMessage: String,
AchRef: String
}