Fiat Payments

Activate or deactivate payment rule

Changed on

Activates or deactivates a payment rule. If you linked a rule to an incorrect wallet, you can deactivate it. Deactivated rules will not trigger automated actions but remain in your account for reference.

post/payment/v1/rules/{id}/actions

Request

Path parameters

idstring uuid required
Example:98c0bb03-567f-11f0-b26e-6b1848874a27

ID of the payment rule to activate or deactivate. You can get this value from the id field of the /payment/v1/rules response.

Request body

type'ACTIVATE' | 'DEACTIVATE' required

Action to perform on the payment rule. Use ACTIVATE to enable the rule or DEACTIVATE to disable it. Deactivated rules will not trigger automated actions but remain in your account for reference.

Response

204 No Content

Changes

    • breaking

      the / response's property type changed from object to array for status

    • breaking

      the / response's property type changed from object to array for status

    • breaking

      the / response's property type changed from object to array for status

    • breaking

      the / response's property type changed from object to array for status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status