get https://gateway.stage.bill.com/connect/v3/spend/cards//pan-jwt
Get a JWT token for a vendor card.
The JWT token for a card contains all the information required for retrieving details about the card (16-digit PAN, CVV, and expiration date). The JWT token lifespan is 5 minutes.
You can decode the JWT token to get PAN details with POST https://app-dev-bdc-stg.divvy.co/de/rest/pan
.
curl --request POST 'https://app-dev-bdc-stg.divvy.co/de/rest/pan'
--header 'Content-Type: application/json'
--data-raw '{"token":"{JWT_token}"}'
Note: Use POST https://api.divvy.co/de/rest/pan
in the production environment.