| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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: application/json
Content-Length: length
{"IsSuccessful":false,"ApiResultCode":0,"ApiCustomerResultCode":0,"ErrorCode":0,"ErrorMessage":"String","AchRef":"String"}