| Requires the role: | Merchant |
| PATCH | /merchants/{merchantKey}/tokens/checks/{token} | Updates a check token for the merchant. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MerchantKey | path | integer | Yes | The key of the merchant. |
| Token | path | string | Yes | The check token. |
| AccountNumber | model | string | No | The account number. |
| RoutingNumber | model | string | No | The routing number. |
| NameOnCheck | model | string | No | The name on the check. |
| AccountType | model | CheckAccountType? | No | The account type, checking or savings.Allowable Values
|
| CheckType | model | CheckType? | No | The check type, personal or business.Allowable Values
|
| Name | Value | |
|---|---|---|
| Checking | 1 | |
| Savings | 2 |
| Name | Value | |
|---|---|---|
| Personal | 1 | |
| Business | 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MerchantKey | model | int? | No | The merchant key. |
| CustomerKey | model | int? | No | The customer key. |
| AccountNumber | model | string | No | The account number. |
| RoutingNumber | model | string | No | The routing number. |
| NameOnCheck | model | string | No | The name on the check. |
| AccountType | model | CheckAccountType? | No | The account type, checking or savings.Allowable Values
|
| CheckType | model | CheckType? | No | The check type, personal or business.Allowable Values
|
| Token | model | string | No | The token for this check. |
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.
PATCH /merchants/{merchantKey}/tokens/checks/{token} HTTP/1.1
Host: syntch.simpay.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MerchantKey: 0,
Token: String,
AccountNumber: String,
RoutingNumber: String,
NameOnCheck: String,
AccountType: 0,
CheckType: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
MerchantKey: 0,
CustomerKey: 0,
AccountNumber: String,
RoutingNumber: String,
NameOnCheck: String,
AccountType: 0,
CheckType: 0,
Token: String
}