---
updatedAt: 2025-06-12T23:58:09.000Z
agentTools:
  projectIndex: https://docs.fiatrepublic.com/llms.txt
---

# Update Payee

<br />

Members have the ability to update the address of an existing payee, while maintaining the integrity of the payee's **name** and **country** details, which **remain unalterable**.

* For existing payees **without** an address, Members can now provide a complete address object, inclusive of the country code.
* In cases where an existing payee already has an **assigned address**, Members have the flexibility to modify this address, with the exception of the country code, which remains unchanged.

<br />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fiat-republic",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.fiatrepublic.com/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/payees/{id}": {
      "patch": {
        "summary": "Update Payee",
        "description": "",
        "operationId": "update-payee",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id of the Payee",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "object",
                    "properties": {
                      "line1": {
                        "type": "string",
                        "description": "First line of Payee's home address."
                      },
                      "line2": {
                        "type": "string",
                        "description": "Second line of Payee's home address."
                      },
                      "city": {
                        "type": "string",
                        "description": "City"
                      },
                      "postalCode": {
                        "type": "string",
                        "description": "Postal/Zip code"
                      },
                      "country": {
                        "type": "string",
                        "description": "Payee's address country."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"errorCode\": \"INVALID_REQUEST_DATA\",\n    \"message\": \"Invalid Payee input data.\",\n    \"warnings\": [\n        {\n            \"position\": \"address.city\",\n            \"issue\": \"Is required for payee without address.\"\n        },\n        {\n            \"position\": \"address.postalCode\",\n            \"issue\": \"Is required for payee without address.\"\n        },\n        {\n            \"position\": \"address.country\",\n            \"issue\": \"Is required for payee without address.\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "example": "INVALID_REQUEST_DATA"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid Payee input data."
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "position": {
                            "type": "string",
                            "example": "address.city"
                          },
                          "issue": {
                            "type": "string",
                            "example": "Is required for payee without address."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "409",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"errorCode\": \"INVALID_REQUEST_DATA\",\n    \"message\": \"Cannot update address for not ACTIVE payee.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "example": "INVALID_REQUEST_DATA"
                    },
                    "message": {
                      "type": "string",
                      "example": "Cannot update address for not ACTIVE payee."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```