Skip to content

Partner API — v2.5.3

Type: Patch Release  ·  Previous version: v2.5.0


✅ 2 New

✅ New Endpoints

GET /tenant/customer/wallet/financial-badges-token-combination

Tag: Tenant Customers
Summary: Fetch wallet level financial badge with tokens details

Query Parameters

Parameter Type Required Description
accountAddress string No Blockchain address
customNamespace string No Custom Namespace
namespace string No Omnumi Namespace

Response Codes

Code Description
200

POST /tenant/customer/modify-wallet-financial-badge

Tag: Tenant Customers
Summary: Modify wallet financial badge

Request Body

Field Type Required Description
customerAccountId string Yes customer account id of wallet user e.g. d9d2eda4-2f55-48f6-ba2c-8fdcd9a0eac9
accountAddress string Yes account address of wallet user e.g. 0xb2f6bde6344c9b04136d02509635641e1162da236
tenantId string Yes tenant id of wallet user e.g. 1dd54cfc-95de-490f-b146-343e0b3ca323
tokensFinancialBadges string Yes token financial badges with token names

Example Request

{
  "customerAccountId": "d9d2eda4-2f55-48f6-ba2c-8fdcd9a0eac9",
  "accountAddress": "0xb2f6bde6344c9b04136d02509635641e1162da236",
  "tenantId": "1dd54cfc-95de-490f-b146-343e0b3ca323",
  "tokensFinancialBadges": [
    {
      "token": "WEET",
      "financialBadge": "79f9a2f1-ff6d-4010-88f6-3e0045e7d455"
    },
    {
      "token": "DTX",
      "financialBadge": "79f9a2f1-ff6d-4010-88f6-3e0045e7d455"
    },
    {
      "token": "WITH",
      "financialBadge": "79f9a2f1-ff6d-4010-88f6-3e0045e7d455"
    }
  ]
}

Response Codes

Code Description
200 Success when wallet entries are updated
400 Error response for all possible cases when adding wallet api gets failed.

200 — Success when wallet entries are updated

{
  "data": {
    "customerAccountId": "1a310d45-0f5f-4f44-bc1d-6ddfd9547787e",
    "namespace": "tenantDomain.sheetalku1.ul"
  },
  "message": "wallet added successfully"
}

400 — Error response for all possible cases when adding wallet api gets failed.

{
  "errors": [
    {
      "type": "Add Tenant Wallet",
      "message": "something went wrong!"
    }
  ]
}