Skip to main content
PATCH
/
v1
/
platform
/
payees
/
{payee_id}
Update a Payee
curl --request PATCH \
  --url https://api-sandbox.finogates.com/v1/platform/payees/{payee_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "<string>",
  "middle_name": "<string>",
  "last_name": "<string>",
  "maiden_name": "<string>",
  "date_of_birth": "<string>",
  "nationality": "<string>",
  "gender": "<string>",
  "doc_number": "<string>",
  "doc_type": "<string>",
  "doc_issue_country": "<string>",
  "doc_issue_date": "<string>",
  "doc_due_date": "<string>",
  "doc_issuer": "<string>",
  "state": "<string>",
  "city": "<string>",
  "street": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>",
  "metadata": {}
}
'
{
  "status_code": 123,
  "data": "<unknown>",
  "query_generated_time": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

payee_id
string<uuid>
required

Query Parameters

user_id
string<uuid>
required

The unique ID of the user who owns this payee.

Body

application/json
first_name
string | null
Maximum string length: 255
middle_name
string | null
Maximum string length: 255
last_name
string | null
Maximum string length: 255
maiden_name
string | null
Maximum string length: 255
date_of_birth
string | null
Maximum string length: 20
nationality
string | null
Maximum string length: 10
gender
string | null
Maximum string length: 1
doc_number
string | null
Maximum string length: 100
doc_type
string | null
Maximum string length: 50
doc_issue_country
string | null
Maximum string length: 10
doc_issue_date
string | null
Maximum string length: 20
doc_due_date
string | null
Maximum string length: 20
doc_issuer
string | null
Maximum string length: 255
state
string | null
Maximum string length: 255
city
string | null
Maximum string length: 255
street
string | null
Maximum string length: 500
email
string<email> | null
phone
string | null
Maximum string length: 40
metadata
Metadata · object

Response

Successful Response

Standard response wrapper for single-object responses and errors.

Generic over the payload type. A route that declares CommonResponse[SomeModel] gets the real data schema rendered in OpenAPI/Swagger; a bare CommonResponse leaves data untyped.

status_code
integer
required

HTTP status code for the response.

data
any
required

Payload or error details.

query_generated_time
integer
required

UTC timestamp (milliseconds since epoch) when response was generated.