v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Accounts

Create Multiple Coupon Accounts

This API method allows the calling application to create one or many coupon accounts and place into the corresponding wallet. This API is considered a bulk action API so the user should consider performance implications of calling this API.

post/wallet/{walletId}/campaigns/accounts

Path parameters

walletIdstring string required

EES AIR Wallet ID

Query parameters

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",
    "campaignTag": "TEST"
  },
  {
    "status": "ACTIVE",
    "campaignId": "1"
  }
]

Response

The request was successful and a number of accounts created