Create Dummy Transactions

Generates test transaction to/from an EXTERNAL-US account

Use this API call to generate dummy transactions for testing purposes. This API call is only available in the UAT (Sandbox) environment. You will be able to view these dummy transactions in the dashboard after the API request is returned with "success":true

API ENDPOINT

https://uat-api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/dummy-tran

Query Parameters

Key
Type
Description

amount

string

Transaction amount

foreign_transaction

string

[yes/no] Defines if transaction is a foreign transaction

is_credit

string

[yes/no] Defines if transaction is CREDIT or DEBIT

subnetid

string

Object ID of subnet (AC/RT account or Debit Card)

type

string

See below for allowed transaction types

Allowed Transaction Types

Value
Type

ACH

CREDIT / DEBIT

ATM_DEPOSIT

CREDIT

CASH_WITHDRAWAL

DEBIT

INTERCHANGE

DEBIT

INTERNAL_TRANSFER

CREDIT / DEBIT

LATE_CREDIT

CREDIT

POS_DEBIT

DEBIT

WIRE

CREDIT

EXAMPLE REQUEST

GET /v3.1/users/5ca3f3ddeaf3f30068187080/nodes/5caac71f70fe0a3855d350bf/dummy-tran?is_credit=YES&type=INTERCHANGE&subnetid=5caac735e1232a0029ee649c&foreign_transaction=NO HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 127.0.0.1
X-SP-USER: oauth_ZJ0np8QiIUrPsuDCRaLVb65vkOM7w14KXdtHT3cB|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
node_id = '594e606212e17a002f2e3251'

user.dummy_tran(node_id, is_credit=True)
const nodeID = '594e606212e17a002f2e3251';

user.triggerDummyTransactions(nodeID);
node_id= "5aef21c0be5d5c00538e9d91"

user.dummy_transactions(node_id: node_id, is_credit: true)
$node_id= "5aef21c0be5d5c00538e9d91"
$is_credit = "True"
$user->dummy_tran($nodeid, $is_credit);
nodeID := "5aef21c0be5d5c00538e9d91"
queryParams := "is_credit=YES&type=INTERCHANGE&subnetid=5caac735e1232a0029ee649c&foreign_transaction=NO"

data, err := user.CreateDummyTransaction(nodeID, queryParams)

EXAMPLE RESPONSE

{
  "success": true,
  "transaction_id": "5cab957199c4c32140a32f06"
}

View Transaction

You will be able to view the generated dummy transaction in the dashboard after a successful response is returned or by doing a GET transaction call

{
  "_id": {
    "$oid": "5cab957199c4c32140a32f06"
  },
  "_v": 2,
  "amount": {
    "amount": 100.0,
    "currency": "USD"
  },
  "client": {
    "id": "5beb506f6d7ceb002490631f",
    "name": "SynapseFI"
  },
  "extra": {
    "asset": null,
    "created_on": {
      "$date": 1554748785541
    },
    "encrypted_note": "",
    "group_id": null,
    "ip": "192.168.0.1",
    "latlon": "0,0",
    "note": "",
    "other": {
      "approved": false,
      "async_ran": true,
      "attachments": [],
      "create_email_sent": false,
      "dispute_form": null,
      "disputed": false,
      "do_next": true,
      "process": {
        "credit": 0,
        "debit": 0
      },
      "provisional_credit_transaction_id": null,
      "settlement_batch_id": null,
      "show_queue": false,
      "skip_validation": true
    },
    "process_on": {
      "$date": 1554748785541
    },
    "same_day": false,
    "settlement_delay": 0,
    "supp_id": null,
    "tracking_number": null
  },
  "fees": [
    {
      "fee": 0,
      "note": "Synapse Facilitator Fee",
      "to": {
        "id": {
          "$oid": "55b3f8c686c2732b4c4e9df6"
        }
      }
    }
  ],
  "from": {
    "id": {
      "$oid": "5c6b546970fe0a2c02f9f786"
    },
    "nickname": null,
    "type": "DEPOSIT-US",
    "user": {
      "_id": {
        "$oid": "5c6b0834774ea600648d104b"
      },
      "legal_names": [
        "Charlie Brown"
      ]
    }
  },
  "recent_status": {
    "date": {
      "$date": 1554748786970
    },
    "note": "",
    "status": "SETTLED",
    "status_id": "4"
  },
  "timeline": [
    {
      "date": {
        "$date": 1554748786970
      },
      "note": "",
      "status": "SETTLED",
      "status_id": "4"
    },
    {
      "date": {
        "$date": 1554748786900
      },
      "note": "",
      "status": "PROCESSING-CREDIT",
      "status_id": "3"
    },
    {
      "date": {
        "$date": 1554748786709
      },
      "note": "",
      "status": "PROCESSING-DEBIT",
      "status_id": "2"
    },
    {
      "date": {
        "$date": 1554748785541
      },
      "note": "Transaction Created.",
      "status": "CREATED",
      "status_id": "1"
    }
  ],
  "to": {
    "id": {
      "$oid": null
    },
    "meta": {
      "account_num": "0234768915",
      "addenda": "0316479582",
      "company_id": "2193408765",
      "company_name": "Ian Holmquist",
      "entry_class": "WEB",
      "name": "Ian Holmquist",
      "posting_data": "Ian Holmquist::7503612984",
      "routing_num": "322271627",
      "subnet_id": false,
      "tracking_id": "5641208379",
      "type": "ACH"
    },
    "nickname": null,
    "type": "EXTERNAL-US",
    "user": {
      "_id": {
        "$oid": null
      },
      "legal_names": [
        "Ian Holmquist"
      ]
    }
  }
}

Create Dummy Transactions


Generates test transaction to/from an EXTERNAL-US account

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.