Skip to content

Retrieve a tokenization request

Request

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
Path
tokenstringrequired

The tokenization request's token, not the card token.

Example:crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM
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'

Responses

The tokenization request.

Bodyapplication/json
objectstring
Example:"card_request"
Value:"card_request"
tokenstring

The tokenization request's token. Use it to verify and to retrieve the card.

Example:"crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM"
statusstring

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"
currencystring(Currency)
Enum:"USD""JMD""GBP""EUR""TTD""BBD""XCD""GYD""SRD"
Example:"JMD"
verification_attemptsinteger
Example:0
last_four_digitsstring or null
Example:"4242"
card_schemestring or null
Example:"VISA"
card_expirystring or null
Example:"12/29"
expiredboolean
Example:true
metadataobject or null
created_atstring, (date-time)
Example:"2026-08-26T00:48:52.252Z"
card_urlstring, (uri)

Present on create. The hosted capture page.

Example:"https://pay.sandbox.dimepay.app/e-card/m82yalYupLIdpAz/crq_lnM3xzwx_nFcWA9XR_bVWBl76P_slIlKTM"
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" }