POST v1/Generic/SavePaymentMethodACH

Save New ACH Token (FS Customer Payment Token Insert)

This is secure method and requires below attributes in header

Authorization: PRC Authorize Token
Authorization: Midnight Authorize Token
MISKEY: MIS Key

Request Information

URI Parameters

None.

Body Parameters

Collection of NewPaymentMethodDetailsACH
NameDescriptionTypeAdditional information
CustomerId

Provide the CustomerId

integer

Required

Token

Provide the Token

string

Required

EmailAddress

Provide the EmailAddress

string

None.

AccountNumber

Provide the Account Number

string

Required

RoutingNumber

Provide the Routing Number

string

Required

AccountType

Provide the CardType

integer

Required

NameOnAccount

Provide the Name on Account

string

Required

Default

Provides if this is the default payment

boolean

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "CustomerId": 1,
    "Token": "sample string 2",
    "EmailAddress": "sample string 3",
    "AccountNumber": "sample string 4",
    "RoutingNumber": "sample string 5",
    "AccountType": 6,
    "NameOnAccount": "sample string 7",
    "Default": true
  },
  {
    "CustomerId": 1,
    "Token": "sample string 2",
    "EmailAddress": "sample string 3",
    "AccountNumber": "sample string 4",
    "RoutingNumber": "sample string 5",
    "AccountType": 6,
    "NameOnAccount": "sample string 7",
    "Default": true
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>