curl --request PUT \
--url https://gateway.varchev.com/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"
}
curl --request PUT \
--url https://gateway.varchev.com/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"
}
The access token received from the authorization server in the OAuth 2.0 flow.
Sample Payload
The body is of type object
.
successful operation
The response is of type object
.