v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Services

Create Campaign Accounts by Identity or WalletId

This API method allows the calling application to create one or many coupon accounts and place them into the wallet 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

Query parameters

identity-valuestring string

Wallet Identity Value

walletIdstring string

EES AIR Wallet ID

tokensboolean

Show up to 100 active Tokens associated with the account.

Request body

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

Account Status

statestring

Account state

currencystring

Example request

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

Response

The request was successful and a number of accounts created