Update Merchant's AVS Mode
PUT/merchants/:merchantId
Use this endpoint to update the AVS mode for the specified merchant.
Request
Path Parameters
The unique identifier of the merchant being updated.
Header Parameters
appToken created by /auth/token
Format: Bearer xxxxxx...
- application/json
Body
required
data
object
A key for grouping different types of API data. See Objects for more information.
The type of transaction. This value must be "merchants".
attributes
object
A key for grouping identification and payment information.
Must be AVS
for updating the merchant's AVS setting. Enables AVS
key.
The AVS mode to set the merchant to. Can be Standard
, Moderate
, or Enhanced
.
Responses
- 200
Ok
- application/json
- Schema
- Example (from schema)
- ok
Schema
data
object
A key for grouping different types of API data.
The type of transaction. This value must be "merchants".
A merchant identifier. This is the account where the split goes after the transaction settles.
{
"data": {
"type": "string",
"id": "string"
}
}
{
"links": {
"self": "x"
},
"data": {
"type": "merchants",
"id": "merchantId"
}
}