POST
/
simulate
/
accounts
/
:acc_id
/
transactions
curl https://dev.methodfi.com/simulate/accounts/:acc_id/transactions \
  -X POST \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "id": "txn_ydx4UUQcyJALz",
  "account_id": "acc_r6JUYN67HhCEM",
  "merchant": {
    "name": "SILVER MNT EATERY SS",
    "category_code": "5812",
    "city": "Austin",
    "state": "TX",
    "country": "USA",
  },
  "network": "visa",
  "network_data": null,
  "amount": 18894,
  "currency": "USD",
  "billing_amount": 18894,
  "billing_currency": "USD",
  "status": "auth",
  "error": null,
  "created_at": "2024-03-11T16:53:23.109Z",
  "updated_at": "2024-03-11T16:53:23.109Z"
}

Transaction simulation is available for Credit Card Accounts that have been verified and are subscribed to the Transactions product.

Simulating a Transaction will mimic a new transaction created by the credit card networks for a specific Account.

Path Parameters

acc_id
string
required

ID of the Account.

Returns

Returns the Transaction object.

curl https://dev.methodfi.com/simulate/accounts/:acc_id/transactions \
  -X POST \
  -H "Method-Version: 2024-04-04" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "id": "txn_ydx4UUQcyJALz",
  "account_id": "acc_r6JUYN67HhCEM",
  "merchant": {
    "name": "SILVER MNT EATERY SS",
    "category_code": "5812",
    "city": "Austin",
    "state": "TX",
    "country": "USA",
  },
  "network": "visa",
  "network_data": null,
  "amount": 18894,
  "currency": "USD",
  "billing_amount": 18894,
  "billing_currency": "USD",
  "status": "auth",
  "error": null,
  "created_at": "2024-03-11T16:53:23.109Z",
  "updated_at": "2024-03-11T16:53:23.109Z"
}