POST
/
accounts
/
{acc_id}
/
sensitive
curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/sensitive \
  -X POST \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
  -H "Content-Type: application/json" \
  -d '{
    "expand": [
      "credit_card.number",
      "credit_card.exp_month",
      "credit_card.exp_year",
      "credit_card.cvv"
    ]
  }'
{
  "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",
}

Creates a new Sensitive request to retrieve sensitive Account information.

Operation Type:

Path Parameters

acc_id
string
required

ID of the Account.

Body

expand
enum[]
required

The sensitive fields to expand in the response.

Returns

Returns a Sensitive object.

curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/sensitive \
  -X POST \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
  -H "Content-Type: application/json" \
  -d '{
    "expand": [
      "credit_card.number",
      "credit_card.exp_month",
      "credit_card.exp_year",
      "credit_card.cvv"
    ]
  }'
{
  "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",
}