# 5.3 Exchange card token to long term token
The credit card token is valid for one usage only, in case the token needed to be used more than once, You can exchange it for a long-term credit card token.
# Request
GET /wallet/api/v1/wallet/long-term-token
Form params
name | Description | Format | Required |
---|---|---|---|
ccToken | The credit card token | String | Yes |
# Request example:
curl -X GET \
--url https://the-sandbox.mycheckapp.com/wallet/api/v1/wallet/long-term-token
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'secretKey: <Secret key>' \
--data 'ccToken=<ccToken>'
# Response
{
"ccToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJteWNoZWNrYXBwLmNvbSIsImF1ZCI6IlRFU1QiLCJzdWIiOnsiaWQiOjF9LCJpY……QEX8rbYCgNFE14",
"status": "OK"
}