Auto Settlements
Update
Auto Settlements
Update
This endpoint allows you to update the details of a specific beneficiary associated with a wallet.
PATCH
/
v1
/
wallets
/
{walletId}
/
beneficiaries
/
{id}
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/beneficiaries/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"isActive": true,
"name": "Ledger Wallet",
"settlementFrequency": "WEEKLY"
}'
{
"data": {
"address": "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
"createdAt": "2024-09-01T17:53:09.112Z",
"deletedAt": null,
"id": "c40b6c09-f5b7-46dd-984d-0ac57ec94d6b",
"isActive": true,
"isDefault": false,
"isSettlement": true,
"name": "Ledger Wallet",
"settlementFrequency": "WEEKLY",
"updatedAt": "2024-09-01T18:00:30.657Z"
},
"message": "Beneficiary updated successfully",
"statusCode": 200
}
Authorizations
curl --request PATCH \
--url https://api.blockradar.co/v1/wallets/{walletId}/beneficiaries/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"isActive": true,
"name": "Ledger Wallet",
"settlementFrequency": "WEEKLY"
}'
{
"data": {
"address": "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
"createdAt": "2024-09-01T17:53:09.112Z",
"deletedAt": null,
"id": "c40b6c09-f5b7-46dd-984d-0ac57ec94d6b",
"isActive": true,
"isDefault": false,
"isSettlement": true,
"name": "Ledger Wallet",
"settlementFrequency": "WEEKLY",
"updatedAt": "2024-09-01T18:00:30.657Z"
},
"message": "Beneficiary updated successfully",
"statusCode": 200
}