Privacy.com
App · 6 actions
Manage virtual cards and find card transactions.
Actions
| Action | What it does |
|---|---|
| Create card | Create a new virtual card. |
| Get card | Get card configuration such as spend limit and state. |
| List cards | List cards. |
| List funding sources | List all the funding sources associated with the Privacy account. |
| List transactions | List transactions. |
| Update card | Update card. |
Create card
Create a new virtual card.
Inputs
- Exp month
exp_monthtext - Two digit (MM) expiry month. If neither `exp_month` nor `exp_year` is provided, an expiration date will be generated.
- Exp year
exp_yeartext - Four digit (yyyy) expiry year. If neither `exp_month` nor `exp_year` is provided, an expiration date will be generated.
- Funding token
funding_tokentext - The token for the desired `FundingAccount` to use when making transactions with this card.
- Memo
memotext - Friendly name to identify the card.
- Spend limit
spend_limitnumber - Amount (in cents) to limit approved authorizations. Transaction requests above the spend limit will be declined.At least 0.
- Spend limit duration
spend_limit_durationtext - Spend limit duration.One of:
ANNUALLY,FOREVER,MONTHLY,TRANSACTION. - State
statetext - 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. - Type
typetextRequired - 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 token
card_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
- Begin
begindate and time - Date string in 8601 format. Only entries created after the specified date will be included. UTC time zone.
- End
enddate and time - Date string in 8601 format. Only entries created before the specified date will be included. UTC time zone.
- Page
pagenumber - Page (for pagination).Default:
1. - Page size
page_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 token
account_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 token
card_tokentext - Filters transactions associated with a specific card.
- Result
resulttext - List specific transactions. Filters include `APPROVED`, and `DECLINED`.One of:
APPROVED,DECLINED. - Begin
begindate and time - Date string in 8601 format. Only entries created after the specified date will be included. UTC time zone.
- End
enddate and time - Date string in 8601 format. Only entries created before the specified date will be included. UTC time zone.
- Page
pagenumber - Page (for pagination).Default:
1. - Page size
page_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 token
card_tokentextRequired - Card token.
- Memo
memotext - Friendly name to identify the card.
- Spend limit
spend_limitnumber - Amount (in cents) to limit approved authorizations. Transaction requests above the spend limit will be declined.
- Spend limit duration
spend_limit_durationtext - Spend limit duration.One of:
ANNUALLY,FOREVER,MONTHLY,TRANSACTION. - State
statetext - 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"
}
}