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-bdc-stg.divvy.co/de/rest/pan
.
curl --location --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.