Funding Sources
Learn how to make funds available to your cards.
Funding Source Schema
{
  "created": String,
  "token": String,
  "type": String,
  "state": String,
  "nickname": String,
  "account_name": String,
  "last_four": String
}| created | An ISO 8601 string representing when this funding source was added to the Privacy account. This may be null | 
| token | A globally unique identifier for this Funding Source | 
| type | Type of funding source, see Enumerations for list | 
| state | State of funding source, see Enumerations for list | 
| nickname | The nickname given to the Funding Source or nullif it has no nickname | 
| account_name | Account name identifying the funding source. This may be null | 
| last_four | The last 4 digits of the account (e.g. bank account, debit card) associated with this funding account. This may be null | 
List Funding Sources
API Reference: List funding sources
List all funding sources under the program associated with the calling API key.
GET https://api.privacy.com/v1/funding_sourcesSample Request
curl 'https://api.privacy.com/v1/funding_sources' \
  -H 'Accept: application/json' \
  -H "Authorization: api-key YOUR_API_KEY"Sample Response
{
   "data": [
      { 
        "created": "2020-07-08 17:57:36",
        "token": "b0f0d91a-3697-46d8-85f3-20f1a585cbea",
        "type": "DEPOSITORY_CHECKING",
        "state": "ENABLED",
        "nickname": "",
        "account_name": "Sandbox",
        "last_four": "5263"
      },
      { 
        "created": "2021-01-01 16:42:21",
        "token": "b013627e-c678-4d6a-9b22-4741e377d604a",
        "type": "DEPOSITORY_CHECKING",
        "state": "ENABLED",
        "nickname": "",
        "account_name": "Sandbox2",
        "last_four": "1234"
      }
    ],
  "total_entries": 2,
  "total_pages": 1,
  "page": 1
}Enumerations
FundingSource.state
| ENABLED | The funding source is available to use for card creation and transactions | 
| PENDING | The funding source is still being verified e.g. bank micro-deposits verification | 
FundingSource.type
| CARD_DEBIT | Debit card | 
| DEPOSITORY_CHECKING | Bank checking account | 
| DEPOSITORY_SAVINGS | Bank savings account | 
Updated about 1 month ago