Transactions
Retrieve a Transaction
- 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
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",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
"acquirer_bin": "401858",
"acquirer_card_acceptor_id": "QDFAPZYMMRTS"
},
"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
acc_id
string
requiredID of the Account.
txn_id
string
requiredID 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",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
"acquirer_bin": "401858",
"acquirer_card_acceptor_id": "QDFAPZYMMRTS"
},
"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",
"category_code": "5812",
"city": "Seattle",
"state": "WA",
"country": "USA",
"acquirer_bin": "401858",
"acquirer_card_acceptor_id": "QDFAPZYMMRTS"
},
"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"
}