Privacy.com

App · 6 actions

Manage virtual cards and find card transactions.

Actions

ActionWhat it does
Create cardCreate a new virtual card.
Get cardGet card configuration such as spend limit and state.
List cardsList cards.
List funding sourcesList all the funding sources associated with the Privacy account.
List transactionsList transactions.
Update cardUpdate card.

Create card

Create a new virtual card.

Inputs

Exp monthexp_monthtext
Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an expiration date will be generated.
Exp yearexp_yeartext
Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an expiration date will be generated.
Funding tokenfunding_tokentext
The token for the desired `FundingAccount` to use when making transactions with this card.
Memomemotext
Friendly name to identify the card.
Spend limitspend_limitnumber
Amount (in cents) to limit approved authorizations. Transaction requests above the spend limit will be declined.At least 0.
Spend limit durationspend_limit_durationtext
Spend limit duration.One of: ANNUALLY, FOREVER, MONTHLY, TRANSACTION.
Statestatetext
Card state values: * `OPEN` - Card will approve authorizations (if they match card and account parameters). * `PAUSED` - Card will decline authorizations, but can be resumed at a later time.One of: OPEN, PAUSED.
TypetypetextRequired
Type.One of: DIGITAL_WALLET (Digital wallet), MERCHANT_LOCKED (Merchant locked), SINGLE_USE (Single use), UNLOCKED.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "created": "example",
    "exp_month": "example",
    "exp_year": "example",
    "funding": {
      "account_name": "example",
      "created": "example",
      "last_four": "example",
      "nickname": "example",
      "state": "ENABLED",
      "token": "example",
      "type": "DEPOSITORY_CHECKING"
    },
    "hostname": "example",
    "last_four": "example",
    "memo": "example",
    "spend_limit": 1,
    "spend_limit_duration": "ANNUALLY",
    "state": "CLOSED",
    "token": "example",
    "type": "DIGITAL_WALLET"
  }
}

Get card

Get card configuration such as spend limit and state.

Inputs

Card tokencard_tokentextRequired
Card token.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "created": "example",
    "exp_month": "example",
    "exp_year": "example",
    "funding": {
      "account_name": "example",
      "created": "example",
      "last_four": "example",
      "nickname": "example",
      "state": "ENABLED",
      "token": "example",
      "type": "DEPOSITORY_CHECKING"
    },
    "hostname": "example",
    "last_four": "example",
    "memo": "example",
    "spend_limit": 1,
    "spend_limit_duration": "ANNUALLY",
    "state": "CLOSED",
    "token": "example",
    "type": "DIGITAL_WALLET"
  }
}

List cards

List cards.

Inputs

Beginbegindate and time
Date string in 8601 format. Only entries created after the specified date will be included. UTC time zone.
Endenddate and time
Date string in 8601 format. Only entries created before the specified date will be included. UTC time zone.
Pagepagenumber
Page (for pagination).Default: 1.
Page sizepage_sizenumber
Page size (for pagination).From 1 to 100. Default: 50.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "data": [],
    "page": 1,
    "total_entries": 1,
    "total_pages": 1
  }
}

List funding sources

List all the funding sources associated with the Privacy account.

Inputs

Account tokenaccount_tokentext
Account token.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "data": [],
    "page": 1,
    "total_entries": 1,
    "total_pages": 1
  }
}

List transactions

List transactions.

Inputs

Card tokencard_tokentext
Filters transactions associated with a specific card.
Resultresulttext
List specific transactions. Filters include `APPROVED`, and `DECLINED`.One of: APPROVED, DECLINED.
Beginbegindate and time
Date string in 8601 format. Only entries created after the specified date will be included. UTC time zone.
Endenddate and time
Date string in 8601 format. Only entries created before the specified date will be included. UTC time zone.
Pagepagenumber
Page (for pagination).Default: 1.
Page sizepage_sizenumber
Page size (for pagination).From 1 to 100. Default: 50.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "data": [],
    "page": 1,
    "total_entries": 1,
    "total_pages": 1
  }
}

Update card

Update card.

Inputs

Card tokencard_tokentextRequired
Card token.
Memomemotext
Friendly name to identify the card.
Spend limitspend_limitnumber
Amount (in cents) to limit approved authorizations. Transaction requests above the spend limit will be declined.
Spend limit durationspend_limit_durationtext
Spend limit duration.One of: ANNUALLY, FOREVER, MONTHLY, TRANSACTION.
Statestatetext
State.One of: CLOSED, OPEN, PAUSED.

Outputs

dataobject
The response from Privacy.com.
Example output
{
  "data": {
    "created": "example",
    "exp_month": "example",
    "exp_year": "example",
    "funding": {
      "account_name": "example",
      "created": "example",
      "last_four": "example",
      "nickname": "example",
      "state": "ENABLED",
      "token": "example",
      "type": "DEPOSITORY_CHECKING"
    },
    "hostname": "example",
    "last_four": "example",
    "memo": "example",
    "spend_limit": 1,
    "spend_limit_duration": "ANNUALLY",
    "state": "CLOSED",
    "token": "example",
    "type": "DIGITAL_WALLET"
  }
}

On this page