SETSimple Easy Transactions
SET DocsAPI reference and complianceUpdated 2026-11-09
Browse: SET API (Platforms)

SET API (Platforms) · Metadata

Change an object's metadata

POST/v1/metadata/{id}

Key scope: write

Sets the keys you send, removes those sent as "" or null, and leaves the rest. metadata: null clears them all. At most 20 keys on an object.

Path parameters

id stringrequired
The object's id.

Body

metadata object | nullrequired
The changes.

Notes

  • Metadata is for your own ids, never personal data: a value that looks like an email, has a space (as a name does), or has a run of more than 8 digits (as an account, card, phone or tax number does) is refused.

Errors

  • 400 body_invalid
  • 400 metadata_invalid
  • 400 metadata_personal_data
  • 404 object_unknown
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 403 scope_missing
  • 429 rate_limited

All codes: Errors.