POST
/
transactions
/
seed
curl --request POST \
  --url http://localhost:4000/transactions/seed \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api_key>' \
  --data '{
  "amount": 123,
  "currency": "<string>",
  "projectId": 123,
  "to": "<string>"
}'
{
  "transaction": [
    {
      "amount": 123,
      "balance": 123,
      "currency": "<string>",
      "date": "<string>",
      "from": "<string>",
      "id": "<string>",
      "to": "<string>"
    }
  ]
}

Headers

api_key
string
required

Body

application/json
amount
number
required
currency
string
required
projectId
number
required
to
string
required

Response

200
application/json
Success response
transaction
object[]
required