cURL
curl --request GET \ --url https://api.treasuryprime.com/card/{id}/token \ --header 'Authorization: Basic <encoded-value>'
{ "token": "eyJ0b2tlbiI6ICI0NGM5YWY5NS01O" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
ID of the Card to retrieve
The token
The response is of type object.
object
Was this page helpful?