Undo a merge
curl --request POST \
--url https://api.getlurk.com/v1/users/unmerge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"user": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({user: '<string>'})
};
fetch('https://api.getlurk.com/v1/users/unmerge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/unmerge"
payload = { "user": "<string>" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"user": {
"id": "<string>",
"external_id": "<string>"
},
"was_merged_into": {
"id": "<string>",
"external_id": "<string>"
},
"moved_back": [
{
"unit": "<string>",
"amount": 123,
"transfer": "<string>",
"receipt": "<string>"
}
],
"block_copied": true
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}People
Undo a merge
Gives a merged-away person back by reversing the merge’s receipts with new ones. Refused if the person kept has spent what came or a cap would break. Needs an owner or admin in person; keys and agents get approval_required. Merging people
POST
/
v1
/
users
/
unmerge
Undo a merge
curl --request POST \
--url https://api.getlurk.com/v1/users/unmerge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"user": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({user: '<string>'})
};
fetch('https://api.getlurk.com/v1/users/unmerge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/unmerge"
payload = { "user": "<string>" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"user": {
"id": "<string>",
"external_id": "<string>"
},
"was_merged_into": {
"id": "<string>",
"external_id": "<string>"
},
"moved_back": [
{
"unit": "<string>",
"amount": 123,
"transfer": "<string>",
"receipt": "<string>"
}
],
"block_copied": true
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Headers
Body
application/json
Response
Undo a merge