POST v1/Generic/SavePaymentMethodACH
Save New ACH Token (FS Customer Payment Token Insert)
Request Information
URI Parameters
None.
Body Parameters
Collection of NewPaymentMethodDetailsACH| Name | Description | Type | Additional 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 |
Remarks
None.
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:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>
