Create Network Token
POST/v2/network_tokens
/v2/network_tokensCreates a network token for a given card. The token is provisioned by the card network and can be used for subsequent transactions.
A token may be returned with status requested (newly created) or active (already exists for this card and enrollment).
card_numberStringrequiredFull PAN digits (12-19 digits)
expiry_monthIntegerrequiredCard expiry month (1-12)
expiry_yearIntegerrequiredCard expiry year including century (e.g. 2027)
card_cvvStringCard verification code (3 digits)
card_holderStringName of the cardholder (alphanumeric, max 120 chars)
emailStringEmail of the cardholder
phoneStringPhone number of the cardholder
billing_countryStringCountry code in ISO 3166-1 alpha-2
billing_cityStringCity of the billing address
billing_line1StringAddress line 1
billing_line2StringAddress line 2
billing_postal_codeStringPostal code (alphanumeric, no spaces)
billing_stateStringState or province
postback_urlStringHTTPS URL to receive postback notifications for this token. Overrides the merchant-level default if provided.
Example Request
POST /v2/network_tokens
Authorization: Basic <base64(api_key:api_password)>
Content-Type: application/json
{
"card_number": "4111111111111111",
"expiry_month": 12,
"expiry_year": 2027,
"card_cvv": "123",
"card_holder": "Joe Cardholder",
"email": "joe@example.com",
"phone": "+491234567890",
"billing_country": "DE",
"billing_city": "Berlin",
"billing_line1": "Alexanderplatz 1",
"billing_postal_code": "10178"
}
Response
idStringUUID of the network token
merchant_idStringUUID of the merchant
statusStringToken status:
requested, active, suspended, failed, archive_pending, archivedtypeStringToken type (currently always
merchant)networkStringCard network:
visa or mastercardproviderStringToken provider identifier
last_token_refreshStringTimestamp of last token refresh from the network
errorObjectError object with
code and detail (only present if status is failed)created_atStringCreation timestamp
updated_atStringLast update timestamp
Example Response
{
"result": "OK",
"data": {
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"merchant_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "requested",
"type": "merchant",
"network": "visa",
"provider": "vts",
"last_token_refresh": null,
"created_at": "2026-03-31T10:15:22Z",
"updated_at": "2026-03-31T10:15:22Z"
}
}