v1

latestOpenAPI 3.1.02026-07-24270180.3 KB

Query Vault tokens

Search for a specific or all vault tokens on your account.

get/v1/vault-tokens/{vault_token}

Path parameters

vault_tokenstring required

the vault token to be queried. Omitting this value will return a list of all vault tokens.

Headers

x-user-secret-keystring required

Your API private/secret key. This can be found in the powerboard dashboard.

Content-Typestring required

Content-Type will always be application/json

Response

200

statusinteger
{"stackTrail":"paths:/v1/vault-tokens/{vault_token}:get:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "status": 200,
  "resource": {
    "type": "payment_source",
    "data": {
      "updated_at": "2020-05-26T15:13:41.105Z",
      "vault_token": "bfd538f5-e4e5-43bd-871d-3ffa6db7f59a",
      "card_name": "Carlie Kuvalis",
      "expire_month": 1,
      "expire_year": 22,
      "card_number_last4": "4242",
      "card_number_bin": "42424242",
      "card_scheme": "visa",
      "status": "active",
      "created_at": "2020-05-26T15:13:41.085Z",
      "user_id": "5cbeda664fdfb25772b5547e",
      "company_id": "5cbeda664fdfb25772b5547f",
      "_source_ip_address": "192.168.0.1",
      "type": "card"
    }
  }
}