v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Services

Create Entitlement Coupons by Identity or WalletId

This API method allows the calling application to create one or many Entitlement Account (of type COUPON) and link it to existing Subscription Account by identity value or wallet id. Either identity-value or walletId must be provided in query parameters. This API is considered a bulk action API so the user should consider performance implications of calling this API.

post/services/wallet/campaign/accounts/related

Query parameters

identity-valuestring string

Wallet Identity Value

walletIdstring string

EES AIR Wallet ID

Request body

status'ACTIVE' | 'BLOCKED' | 'CANCELLED' | 'DELETED' | 'EXPIRED' | 'INACTIVE' | 'INVALIDATED' | 'LOCKED' | 'STOLEN' | 'USED' | 'SUSPENDED'

Account Status

statestring

Account state

currencystring

Example request

[
  {
    "status": "ACTIVE",
    "parentAccountId": "1",
    "campaignReference": "TEST"
  },
  {
    "status": "ACTIVE",
    "parentAccountId": "2",
    "campaignId": "1"
  }
]

Response

The request was successful and a number of related accounts created