GET
/
card
/
{id}
/
token
curl --request GET \
  --url https://api.treasuryprime.com/card/{id}/token \
  --header 'Authorization: Basic <encoded-value>'
{
  "token": "eyJ0b2tlbiI6ICI0NGM5YWY5NS01O"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

ID of the Card to retrieve

Response

200 - application/json
The token
token
string

MarqetaJS access token