Token Lookup API

Why use this API?

Clients can use the Token Lookup API to look up tokens/vouchers to present back to the buyer/customer who purchased token-related products via Clickatell’s Marketplace. This is an alternative way for the buyers to view their purchased tokens/vouchers and will mainly be used if they did not receive the original SMS containing the purchased token.

circle-info

The API will only return the tokens for transactions where the buyer initiated the purchase (including gifted) but will not include any tokens received via gifting/3rd party purchases.

Participating parties

circle-info

See here for definitions.

  • Buyer

  • Clickatell

  • Client

Getting started with the Token Lookup API

To interface with Clickatell, the following needs to be set up, configured and tested:

1

Integrate with Security Service API:

  • Follow the instructions in the Security Service API quick-start guide to request a token with your client_secret and client_id.

  • Use the API_key and access_token in the following request (Step 2).

2

Call Token Lookup API (this API)

  • Add the API_key and access_token to the request header.

  • Use the client_id supplied during integration.

  • Use the following fields for the token lookup:

    • sourceIdentifier

    • clientId

    • channelId

    • productTypeId

    • limit

A high-level view of this interface.