Create

This method allows the calling application to create a new Token within AIR platform.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON Request Payload

string
enum
required

Type of Account Token to be created

Allowed:
int64
required

Campaign ID or Programme ID (depending on resourceType value)

boolean
enum
Defaults to false

An optional boolean flag to instruct AIR to include into returned Response an additional attribute barcodeImage containing base64-encoded Barcode Image of the Token. Please note currently 128C Barcode Format is supported only.

Allowed:
tokenDates

[Optional] This optional request structure allows to override Campaign or Programme settings for Token Valid-From and/or Valid-To dates; newly created Token will have these dates as explicitly requested. Please note explicit date-times has to be within a referenced Campaign or Programme validity window.

consumerIdentifier

Only one of following keys could be provided to fulfil Consumer search (by email, by mobile number, by customerId, by external system Reference). If Consumer with provided email or mobile doesn't exist, AIR will create a new Consumer using provided email or mobile. Please note for Campaigns with a strict issuance per Consumer limit this field will be mandatory.

value
object
overrides
object

[Optional] Overrides for reward or continuityQualification of the Token. Both the Unit and Campaign must have overrides enabled to use this.

string

[Optional] Outlet incoming identifier to override where this Transaction has happened, if not provided AIR will use location arisen from used API Key

details
object

JSON Object without a fixed structure (EES AIR Meta-Data)

delivery
object

Optional section (key and value), if defined AIR will try to deliver EMAIL or SMS delivery notification to requested end-Client.

boolean
Defaults to false

An optional boolean flag to instruct the API to include a link to Mobile Wallet in the Response. (Please note this feature requires App Manager service enabled for a Client).

string

Used for the token, if campaign is configured to allow it

accountDetails
object
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json