get https://gateway.stage.bill.com/connect/v3/spend/cards//pan-jwt
Get a JWT token for retrieving a card's PAN (full account number). The JWT token contains all the information required for retrieving details about a virtual card (16-digit PAN, CVV, and expiration date). The JWT token lifespan is 5 minutes.
You can convert the retrieved JWT token to get the related virtual card details with POST https://app-dev-sandbox.divvy.co/de/rest/pan
.
curl --location --request POST 'https://app-dev-sandbox.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.