Skip to main content

Update Acquirer Payment Control

PUT 

/v1/payment_controls/:type/:id

Update an acquirer-level payment control's identifier or activity.

Required permission: payment_controls_update.

Request​

Path Parameters

    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.

    id uuidrequired

    Payment control UUID.

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 updated 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...