wallets
Merge wallet metadata
Changed onThis endpoint merges the provided metadata with existing metadata on the wallet. Existing keys not in the request are preserved. New keys are added, existing keys are updated.
patch/wallets/{lago_id}/metadata
Request
- Base URLhttps://api.getlago.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
lago_idstring uuid required
Example:1a901a90-1a90-1a90-1a90-1a901a901a90
Unique identifier assigned to the wallet within the Lago application.
Request body
Example request
{
"metadata": {
"external_id": "ext-123",
"synced_at": "2024-01-15",
"source": null
}
}Response
Wallet metadata merged
Example response
{
"metadata": {
"external_id": "ext-123",
"synced_at": "2024-01-15",
"source": null
}
}Changes
- info
endpoint added
- info