Fiat Payments

Update payment rule

Changed on

Partially updates a previously created payment rule. Only properties included in the request are updated; omitted fields remain unchanged. Setting a nullable property to null clears it.

patch/payment/v1/rules/{id}

Request

Path parameters

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

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

Request body

Example request

{
  "fees": {
    "customerFee": {
      "amount": 100.5,
      "currency": "USD"
    }
  },
  "beneficiary": {
    "currency": "USDT",
    "entity": {
      "dateOfBirth": "1990-05-15",
      "address": {
        "addressLine1": "123 Main Street",
        "addressLine2": "Apartment 456",
        "postalCode": "NW1 4NP",
        "city": "London",
        "country": "GB",
        "stateCode": "AL"
      }
    }
  }
}

Response

Rule updated.

object required

Changes

    • breaking

      the request property // became not nullable

    • breaking

      the request property // became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property ////// became not nullable

    • breaking

      the request property /////// became required

    • breaking

      the request property /////// became required

    • warning

      removed the request property ///////

    • warning

      removed the request property ///////

    • info

      added the new ARBITRUM enum value to the request property //

    • info

      added the new ARC enum value to the request property //

    • info

      added the new BASE enum value to the request property //

    • warning

      removed the request property

    • info

      added the new optional request property /