PUT
/
payees
/
{payeeId}
curl --request PUT \
  --url https://test.onlinecheckwriter.com/api/v3/payees/{payeeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Doe",
  "nickName": "JD",
  "company": "Company A",
  "email": "johndoe@example.com",
  "phone": "1234567890",
  "address1": "123 Main Street",
  "address2": "Apt 4B",
  "city": "City",
  "state": "ST",
  "zip": "12345",
  "country": "US"
}'
{
  "success": true,
  "message": "Successfully updated",
  "data": {
    "payeeId": "RJ6qGAAxJPGE1rD"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payeeId
string
required

The ID of the payee to update.

Example:

"RJ6qGAAxJPGE1rD"

Body

application/json

Payload to update payee details.

The body is of type object.

Response

201
application/json

Payee updated successfully.

The response is of type object.