Skip to main content

Tokenization

POST Create Token Link

The POST Create Token Link method enables merchants to create a unique token link. When a customer opens a token link, they are redirected to a secure, AndDone-hosted page where they can enter their payment account information and submit it to be tokenized for use in future payments.

The POST Create Token Link method enables merchants to create a unique token link. A successful POST request returns a token link url which can then be shared with customers via email, SMS, or social media platforms. When a customer opens a token link, they are redirected to a secure, AndDone-hosted page where they can enter their payment account information and submit it to be tokenized for use in future payments.

Webhook Notifications: This API supports webhook notifications for real-time tracking of token link activity. To receive notifications, subscribe to the Token Link webhook module in the AndDone Merchant Portal. For detailed payload and event information, see Token Link Webhook Payloads.

API Endpoint
https://api.uat.anddone.com/secure/tokenlinks
API Data Details
URI /secure/tokenlinks
Method POST
Authorization API Key Authorization
Authorization
x-api-key API key {env_merchantAccessKey}
Request Headers
x-app-key Merchant ID or App Key {env_merchantId}
x-version API version (e.g., 2.1)
Origin URL or IP address provided to AndDone as an allowed origin.
Content-Type application/json

Request Parameters

Field Name Data Type Mandatory Field Length Description

Body Request Example (JSON)

    
    

Response Parameters

Body Response Example (JSON)