Skip to main content
PUT
/
balances
/
{balance_id}
/
identity
Update balance identity
curl --request PUT \
  --url http://localhost:5001/balances/{balance_id}/identity \
  --header 'X-blnk-key: <api-key>'
Use blnk.LedgerBalances.updateIdentity to link a balance to an identity.
blnk.LedgerBalances.updateIdentity
const response = await blnk.LedgerBalances.updateIdentity(
  'bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f',
  { identity_id: 'idt_3b63c8da-af29-4cc3-ad38-df17d87456e6' },
);
FieldDescription
balanceIdBalance ID to update.
identity_idIdentity ID to link to the balance.

Response shape

200 OK
{
  "message": "Balance identity updated successfully"
}
FieldDescription
messageConfirmation from Core.

Link balances

Linking identities to balances.

Update balance identity

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.