cards
Get a PAN JWT token
Changed onGet 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'
--header 'x-divvy-api-token: {api_token}'
--data '{"token": "{JWT_token}"}'
Note: Use POST https://api.divvy.co/de/rest/pan in the production environment.
get/v3/spend/cards/{cardId}/pan-jwt
Request
- Base URLhttps://gateway.stage.bill.com/connect
- URLhttps://gateway.stage.bill.com/connect/v3/spend/cards/{cardId}/pan-jwt
- Authnone declared
Path parameters
cardIdstring required
BILL-generated ID or UUID of the card
Example:{{se_card_uuid}}
Headers
apiTokenstring nullable
Access token for Spend & Expense API authentication
Example:{{api_token}}
Response
Get a PAN JWT token response
Changes
- info
endpoint added
- info