Transactions
Retrieve a Transaction
API Reference
Entities
- The entity endpoint
- POSTCreate an Individual
- POSTCreate a Corporation
- PUTUpdate an Entity
- GETRetrieve an Entity
- GETList all Entities
- Connect
- Verification Sessions
- Credit Scores
- Attributes
- Vehicles
- Identities
- Products
- Subscriptions
- Consent
Accounts
- The account endpoint
- POSTCreate an Account
- GETRetrieve an Account
- GETList all Accounts
- Updates
- Transactions
- Card Brand
- Attributes
- Payoffs
- Balances
- Sensitive
- Products
- Subscriptions
- Verification Sessions
- Consent
Payments
Supporting Endpoints
- Merchants
- Webhooks
- Reports
- Simulations (Dev)
- Health Check
Transactions
Retrieve a Transaction
GET
/
accounts
/
:acc_id
/
transactions
/
:txn_id
curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/transactions/txn_aRrDMAmEAtHti \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
"id": "txn_bSsDNBnFBsJti",
"account_id": "acc_xHg4lkzbfw8tj",
"merchant": {
"name": "Starbucks",
"descriptor": "STARBUCKS 98101 SEATTLE WA",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
},
"network": "visa",
"network_data": {
"visa_merchant_id": "967543210987",
"visa_merchant_name": "Starbucks Store 042",
"visa_store_id": "0042",
"visa_store_name": "Starbucks Pike Place"
},
"amount": 1499,
"currency": "USD",
"billing_amount": 1499,
"billing_currency": "USD",
"status": "cleared",
"created_at": "2024-05-07T15:30:25.467Z",
"updated_at": "2024-05-07T15:30:25.467Z"
}
Retrieve a Transaction object for an Account.
Path Parameters
ID of the Account.
ID of the Transaction.
Returns
Returns a Transaction object.
curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/transactions/txn_aRrDMAmEAtHti \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
"id": "txn_bSsDNBnFBsJti",
"account_id": "acc_xHg4lkzbfw8tj",
"merchant": {
"name": "Starbucks",
"descriptor": "STARBUCKS 98101 SEATTLE WA",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
},
"network": "visa",
"network_data": {
"visa_merchant_id": "967543210987",
"visa_merchant_name": "Starbucks Store 042",
"visa_store_id": "0042",
"visa_store_name": "Starbucks Pike Place"
},
"amount": 1499,
"currency": "USD",
"billing_amount": 1499,
"billing_currency": "USD",
"status": "cleared",
"created_at": "2024-05-07T15:30:25.467Z",
"updated_at": "2024-05-07T15:30:25.467Z"
}
curl https://production.methodfi.com/accounts/acc_yVf3mkzbhz9tj/transactions/txn_aRrDMAmEAtHti \
-X GET \
-H "Method-Version: 2024-04-04" \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
{
"id": "txn_bSsDNBnFBsJti",
"account_id": "acc_xHg4lkzbfw8tj",
"merchant": {
"name": "Starbucks",
"descriptor": "STARBUCKS 98101 SEATTLE WA",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
},
"network": "visa",
"network_data": {
"visa_merchant_id": "967543210987",
"visa_merchant_name": "Starbucks Store 042",
"visa_store_id": "0042",
"visa_store_name": "Starbucks Pike Place"
},
"amount": 1499,
"currency": "USD",
"billing_amount": 1499,
"billing_currency": "USD",
"status": "cleared",
"created_at": "2024-05-07T15:30:25.467Z",
"updated_at": "2024-05-07T15:30:25.467Z"
}