Skip to main content
PUT
/
api
/
user-api
/
payee
/
update
Update Payee
curl --request PUT \
  --url https://api.sandbox.paywint.com/api/user-api/payee/update \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --header 'X-Api-Secret: <x-api-secret>' \
  --data '
{
  "payee_id": "f47ac10b-****-****-****-0e02b2c3d479",
  "name": "John Doe"
}
'
{
  "success": true,
  "message": "Operation completed.",
  "data": {
    "payee_id": "f47ac10b-****-****-****-0e02b2c3d479",
    "name": "John Doe",
    "email": "john.doe@example.com",
    "phone_country_code": "+1",
    "phone": "1234567890",
    "created_at": "2025-06-10T18:10:42.000Z"
  },
  "queryGeneratedTime": 1718006400
}

Headers

X-Api-Key
string
required

Your API Key (UUID format). Required to identify and authorize each request

X-Api-Secret
string
required

Secret associated with your API Key. Used for authenticating requests. Keep this secure.

Body

application/json
payee_id
string<uuid>
required

Unique identifier (UUID) assigned to the payee.

Example:

"f47ac10b-****-****-****-0e02b2c3d479"

name
string
required

Full name of the payee

Example:

"John Doe"

Response

Successful Response

success
boolean
default:true

Indicates whether the request was processed successfully.

Example:

true

message
string
default:Success

A short, human-readable message describing the result of the request.

Example:

"Operation completed."

data
ExternalContactsRead · object

The main response payload, if applicable

queryGeneratedTime
number | null
default:1771679555.638735

The Unix timestamp (in seconds) indicating when the response was generated.

Example:

1718006400