API v2//
- Retrieve a tokenization request
Open a tokenization request
Verify a tokenization request
Retrieve the stored card
Delete the stored card
Retrieve a tokenization r...
Returns the tokenization request's status and the card's last four digits. It never returns the card token; use GET /cards/{token} for that.
Security
ClientKey and SecretKey
- Mock serverhttps://docs.dimepay.net/_mock/apis/v2/dime-v2/card-tokenization/{token}
- Sandbox. A separate environment with its own data; no real money
moves. Use a client key created in sandbox.
https://sandbox.api.dimepay.app/dapi/v2/card-tokenization/{token}
- Production. Real payments. Use a client key created in production.
https://api.dimepay.app/dapi/v2/card-tokenization/{token}
curl -i -X GET \
https://docs.dimepay.net/_mock/apis/v2/dime-v2/card-tokenization/crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-Dime-Client: YOUR_API_KEY_HERE'The tokenization request.
The tokenization request's token. Use it to verify and to retrieve the card.
Example:"crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM"
STARTED: opened, card not yet entered. VERIFICATION: card accepted and the verification charge placed; waiting for PUT /card-tokenization/verify. SUCCESS: verified; the card can be retrieved. FAILED: the card was declined, or verification failed three times.
Enum:"STARTED""VERIFICATION""SUCCESS""FAILED"
Example:"STARTED"
Response
{ "object": "card_request", "token": "crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM", "status": "STARTED", "currency": "USD", "verification_attempts": 0, "last_four_digits": null, "card_scheme": null, "card_expiry": null, "expired": false, "metadata": { "type": "API", "api_version": "v2", "return_url": "https://example.com/done", "webhook_url": "https://example.com/hooks/card", "reference_id": "your-reference-1024" }, "created_at": "2026-10-27T15:04:05.000Z" }