Auto Settlements
Create
Auto Settlements
Create
This endpoint allows you to add a beneficiary to a specific wallet.
POST
/
v1
/
wallets
/
{walletId}
/
beneficiaries
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/beneficiaries \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
"name": "Ledger Wallet",
"settlementFrequency": "DAILY"
}'
{
"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": "MONTHLY",
"updatedAt": "2024-09-01T18:12:31.850Z"
},
"message": "Beneficiary updated successfully",
"statusCode": 200
}
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Body
application/json
Example:
"TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP"
Example:
"Ledger Wallet"
Example:
"DAILY"
Response
201 - application/json
200
Example:
"TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP"
Example:
"2024-09-01T17:53:09.112Z"
Example:
"c40b6c09-f5b7-46dd-984d-0ac57ec94d6b"
Example:
true
Example:
false
Example:
true
Example:
"Ledger Wallet"
Example:
"MONTHLY"
Example:
"2024-09-01T18:12:31.850Z"
Example:
"Beneficiary updated successfully"
Example:
200
curl --request POST \
--url https://api.blockradar.co/v1/wallets/{walletId}/beneficiaries \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"address": "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
"name": "Ledger Wallet",
"settlementFrequency": "DAILY"
}'
{
"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": "MONTHLY",
"updatedAt": "2024-09-01T18:12:31.850Z"
},
"message": "Beneficiary updated successfully",
"statusCode": 200
}