Sensitive
Create a Sensitive
- Introduction
- Authentication
- Environments
- Idempotency
- Expanding Resources
- Request IDs
- Versioning
- Pagination
- Metadata
- Errors
- The entity endpoint
- POSTCreate an Individual
- POSTCreate a Corporation
- PUTUpdate an Entity
- GETList all Entities
- GETRetrieve an Entity
- Connect
- Verification Sessions
- Credit Scores
- Identities
- Products
- Subscriptions
- Consent
- The account endpoint
- POSTCreate an Account
- GETList all Accounts
- GETRetrieve an Account
- Updates
- Transactions
- Card Brand
- Payoffs
- Balances
- Sensitive
- Products
- Subscriptions
- Verification Sessions
- Consent
- The payment endpoint
- POSTCreate a Payment
- GETList all Payments
- GETRetrieve a Payment
- DELDelete a Payment
- Merchants
- Webhooks
- Reports
- Simulations (Dev)
- Health Check
API Reference
Entities
Accounts
Payments
Supporting Endpoints
Sensitive
Create a Sensitive
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
requiredID of the Account.
Body
expand
enum[]
requiredThe sensitive fields to expand in the response.
credit_card.number
The full card number.
credit_card.exp_month
The card's expiration month.
credit_card.exp_year
The card's expiration year.
credit_card.cvv
The card's CVV.
credit_card.billing_zip_code
The card's billing zip code.
mortgage.number
The full mortgage number.
auto_loan.number
The full auto loan number.
personal_loan.number
The full personal loan number.
collection.number
The full collection number.
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",
}
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",
}