Skip to main content

Update Merchant's AVS Mode

PUT 

/merchants/:merchantId

Use this endpoint to update the AVS mode for the specified merchant.

Request

Path Parameters

    merchantId stringrequired

    The unique identifier of the merchant being updated.

    Example: xxxxxx

Header Parameters

    Authorization string

    appToken created by /auth/token Format: Bearer xxxxxx...

    Example: Bearer <appToken>

Body

required

    data

    object

    A key for grouping different types of API data. See Objects for more information.

    type string

    The type of transaction. This value must be "merchants".

    Example: merchants

    attributes

    object

    A key for grouping identification and payment information.

    group string

    Must be AVS for updating the merchant's AVS setting. Enables AVS key.

    Example: AVS
    AVS string

    The AVS mode to set the merchant to. Can be Standard, Moderate, or Enhanced.

    Example: Enhanced

Responses

Ok

Schema

    data

    object

    A key for grouping different types of API data.

    type string

    The type of transaction. This value must be "merchants".

    id string

    A merchant identifier. This is the account where the split goes after the transaction settles.