GET
/
accounts
/
:acc_id
/
sensitive
curl "https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/sensitives" \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "success": true,
  "data": [
    {
      "id": "astv_9WBBA6TH7n7iX",
      "account_id": "acc_yVf3mkzbhz9tj",
      "type": "credit_card",
      "credit_card": {
        "number": "5555555555551580",
        "exp_month": "09",
        "exp_year": "2030",
        "cvv": "878",
        "billing_zip_code": null,
      },
      "status": "completed",
      "error": null,
      "created_at": "2024-04-26T22:50:24.857Z",
      "updated_at": "2024-04-26T22:50:24.857Z",
    },
    {...}
  ],
  "message": null
}

Retrieve a list of Sensitives for a specific Account.

Path Parameters

acc_id
string
required

ID of the Account.

Query Parameters

from_date
string

ISO 8601 formatted date (YYYY-MM-DD) to filter for Sensitives created on and after the date provided.

to_date
string

ISO 8601 formatted date (YYYY-MM-DD) to filter for Sensitives created on and before the date provided.

page
string

The number of the page to return.

page_cursor
string

The ID of a resource from which a page should start or end. Mutually exclusive with page.

page_limit
string

The number of Sensitives to return per page.

Returns

Returns a list of Sensitives.

curl "https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/sensitives" \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
  "success": true,
  "data": [
    {
      "id": "astv_9WBBA6TH7n7iX",
      "account_id": "acc_yVf3mkzbhz9tj",
      "type": "credit_card",
      "credit_card": {
        "number": "5555555555551580",
        "exp_month": "09",
        "exp_year": "2030",
        "cvv": "878",
        "billing_zip_code": null,
      },
      "status": "completed",
      "error": null,
      "created_at": "2024-04-26T22:50:24.857Z",
      "updated_at": "2024-04-26T22:50:24.857Z",
    },
    {...}
  ],
  "message": null
}