← Plugins

privacy

Create and manage virtual cards via Privacy.com

View source

plugin-privacy

A Stavrobot plugin for the Privacy.com API.

Tools

list_transactions

List transactions from your Privacy.com account, with optional filters.

Parameters (all optional):

NameTypeDescription
account_tokenstringFilter by account UUID
card_tokenstringFilter by card UUID
resultstringAPPROVED or DECLINED
beginstringInclude transactions on or after this date (YYYY-MM-DD, inclusive)
endstringInclude transactions before this date (YYYY-MM-DD, exclusive)
page_sizeintegerEntries per page, 1-1000 (default 50)
pageintegerPage number, 1+ (default 1)

Configuration

After installing the plugin, set your API key in config.json:

{
  "api_key": "your-privacy-com-api-key"
}

You can generate an API key from your Privacy.com account page. Privacy.com also offers a sandbox environment at sandbox.privacy.com with a separate API key.

License

AGPL-3.0. See LICENSE.