PUT
/
{walletId}
/
asset
/
{assetId}
/
status
curl --request PUT \
  --url https://gateway.finhub.cloud/wallet/{walletId}/asset/{assetId}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "instance": "",
  "allowedOperations": "",
  "purpose": "purpose",
  "instanceBase": "",
  "id": {
    "auditData": {
      "createdAt": "2000-01-23T04:56:07.000Z",
      "archivedAt": "2000-01-23T04:56:07.000Z",
      "deletedAt": "2000-01-23T04:56:07.000Z",
      "updatedBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
      "createdBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
      "deletedBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
      "updatedAt": "2000-01-23T04:56:07.000Z"
    },
    "tenantId": "tenantId",
    "entityId": "",
    "ownerId": "ownerId"
  },
  "type": "currency",
  "status": "new",
  "availableBalance": {
    "balanceType": "current",
    "name": "name",
    "instanceRef": {
      "refferTo": ""
    },
    "value": "value"
  }
}'
{
  "walletId": "walletId",
  "assets": {
    "instance": "",
    "allowedOperations": "",
    "purpose": "purpose",
    "instanceBase": "",
    "id": {
      "auditData": {
        "createdAt": "2000-01-23T04:56:07.000Z",
        "archivedAt": "2000-01-23T04:56:07.000Z",
        "deletedAt": "2000-01-23T04:56:07.000Z",
        "updatedBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
        "createdBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
        "deletedBy": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
        "updatedAt": "2000-01-23T04:56:07.000Z"
      },
      "tenantId": "tenantId",
      "entityId": "",
      "ownerId": "ownerId"
    },
    "type": "currency",
    "status": "new",
    "availableBalance": {
      "balanceType": "current",
      "name": "name",
      "instanceRef": {
        "refferTo": ""
      },
      "value": "value"
    }
  },
  "tenantId": "tenantId"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Path Parameters

walletId
string
required
assetId
string
required

Body

application/json
id
object
purpose
string
type
enum<string>

type of asset that can be storred in the walled

Available options:
currency,
cryptocurrency,
bank-card,
transport-card,
id-card,
qr-code,
linked_account,
linked_external_account
instance
object
instanceBase
object
status
enum<string>

wallet status in the asset

Available options:
new,
available,
pending,
sold,
verification,
verification_denied,
on_hold,
suspicious,
under_investigation,
dispute_started,
dispute_resolved,
sanctioned,
black_listed,
transferred,
close_requested,
closed
availableBalance
object
currentBalance
object
allowedOperations
object

Response

200 - application/json
walletId
string
tenantId
string
assets
object