Skip to main content

Create Merchant Payment Control

POST 

/v1/acquirer/merchants/:merchant_id/payment_controls/:type

Create a payment control scoped to a single merchant.

Required permission: payment_controls_create.

Request

Path Parameters

    merchant_id stringrequired

    Acquirer-assigned merchant identifier (the merchant_id field of the merchant, not its internal UUID).

    type stringrequired

    Possible values: [bin_range, bin_country, pan, fingerprint, ip, ip_country, eci, tds_status]

    The identifier type of the rules to operate on.

Body

required

    activity stringrequired

    Possible values: [allow, deny]

    Whether matching payments are allowed or denied.

    identifier stringrequired

    The value to match, in the format dictated by the rule's identifier type (see the API description table).

Responses

The created payment control.

Schema

    id uuidrequired

    A 36-character UUIDv7 identifier.

    identifier_type stringrequired

    Possible values: [bin_range, bin_country, pan, fingerprint, ip, ip_country, eci, tds_status]

    identifier stringrequired
    owner_type stringrequired

    Possible values: [Acquirer, Merchant]

    Whether the rule is acquirer-level or merchant-level.

    owner_id uuidrequired

    A 36-character UUIDv7 identifier.

    activity stringrequired

    Possible values: [allow, deny]

    created_at date-timerequired

    ISO 8601 UTC timestamp with time zone designator.

    updated_at date-timerequired

    ISO 8601 UTC timestamp with time zone designator.

Loading...