Get 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.

Path Params
string
required
length ≥ 1

BILL-generated token of the card

Headers
string
required

Access token for Spend & Expense API authentication

Responses

Response body
object
string

JWT token used to retrieve 16-digit PAN, CVV, and expiration date

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json