Generate Cryptogram
POST
/api/v1/tokens/{token_id}/token-transactional-dataGenerate a cryptogram for a tokenized card transaction. The cryptogram is used for secure network-level token transactions.
Requires
Bearer token. Get token →Path Parameters
| Name | Type | Description |
|---|---|---|
token_id | stringrequired | Unique token ID for which to generate the cryptogram. |
Request Body
| Name | Type | Description |
|---|---|---|
merchant_unique_reference | stringrequired | Unique reference for this cryptogram generation request. |
service_provider_token_id | stringrequired | Service provider token identifier. |
Status Codes
201 | Cryptogram generated successfully. |
400 | The request was malformed or missing required fields. |
401 | Authentication failed — missing, expired, or invalid Bearer token. |
403 | The authenticated client does not have permission for this operation. |
500 | An unexpected error occurred on the server. |
503 | Service temporarily unavailable. |
Request
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/v1/tokens/token-v1-1234567890-aa-ABCDEF/token-transactional-data \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"merchant_unique_reference": "crypto-ref-001",
"service_provider_token_id": "sp-token-001"
}'Run this request
token_id201 Created
{
"token_id": "token-v1-1234567890-aa-ABCDEF",
"merchant_token_reference": "token-ref-001",
"service_provider_token_id": "sp-token-001",
"token_data": {
"cryptogram": "AQBBBBBBBBFIkbMHAAdRAAAAAAA=",
"token_reference": "4895370012003478",
"payment_account_reference": "Q1HJZ28RKA1EBL470G9XYG90R5SFN",
"token_expiry_month": "12",
"token_expiry_year": "2025"
}
}