Ledger balances
Update balance identity
Update the identity associated with a balance with the Go SDK.
PUT
/balances/{balance_id}/identityUse client.LedgerBalance.UpdateIdentity to link a balance to an identity.
Call the method
result, _, _ := client.LedgerBalance.UpdateIdentity(
"bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f",
blnkgo.UpdateBalanceIdentityRequest{
IdentityID: "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
},
)
| Field | Type | Description |
|---|---|---|
balanceID | string | Balance ID to update. |
IdentityID | string | Identity ID to link to the balance. |
Response
{
"message": "Balance identity updated successfully"
}Go response (*blnkgo.UpdateBalanceIdentityResponse)
| Field | Type | Description |
|---|---|---|
Message | string | Confirmation from Core. |