Cards, prop trading & accounting
Get Rain Card Sensitive Details
Retrieves and decrypts full PAN, CVV and expiry from Rain, only for the worker who holds the card; admins are refused.
GEThttps://api.toku.com/hris/get-rain-card-sensitive-details
Not available to API keys.
curl --request GET \
--url 'https://api.toku.com/hris/get-rain-card-sensitive-details?rainCardId=%3CrainCardId%3E&orgID=%3CorgID%3E' \
--header 'Authorization: Bearer <token>'200 response
{
"id": "string",
"pan": "string",
"cvv": "string",
"expirationMonth": "string",
"expirationYear": "string",
"last4": "string",
"type": "string",
"status": "string",
"displayName": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Query parameters
rainCardIdstring<uuid>requiredorgIDstring<uuid>requiredResponse
200Successful response
idstringrequiredpanstringrequiredcvvstringrequiredexpirationMonthstringrequiredexpirationYearstringrequiredlast4stringrequiredtypestringrequiredstatusstringrequireddisplayNamestring | nullrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits