Decrypt data from a business's vault
post/businesses/{fp_bid}/vault/decrypt
External ID
Request
Path parameters
fp_bid·string
Body
fields·array of strings
List of data identifiers to decrypt. For example,
business.name, business.website,Allowed values:
business.namebusiness.dbabusiness.websitebusiness.phone_numberbusiness.tinbusiness.address_line1business.address_line2business.citybusiness.statebusiness.zipbusiness.countrybusiness.corporation_typebusiness.formation_statebusiness.formation_datecustom.*reason·string
Reason for the data decryption. This will be logged
transforms·optional array of strings
A list of filter and transform functions to apply to each decrypted datum. Omit or leave empty to apply no transforms. Can find more information on allowed transform functions on our docs
Allowed values:
to_lowercaseto_uppercaseto_asciiprefix(<n>)suffix(<n>)replace('<from>','<to>')date_format('<from_format>','<to_format>')hmac_sha256('<key>')encrypt('<algorithm>','<public_key>')wrap_quotesResponse
A key-value map with the corresponding decrypted values<key>·string
Allowed values:
business.namebusiness.dbabusiness.websitebusiness.phone_numberbusiness.tinbusiness.address_line1business.address_line2business.citybusiness.statebusiness.zipbusiness.countrybusiness.corporation_typebusiness.formation_statebusiness.formation_datecustom.*<value>·string | integer | boolean | object
POST /businesses/{fp_bid}/vault/decrypt
Response example
{
"business.name": "Acme Bank",
"business.website": "acmebank.org"
}