POST
/
transactions
curl --request POST \
  --url http://localhost:4000/transactions \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api_key>' \
  --data '{
  "amount": 123,
  "currency": "<string>",
  "from": "<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
from
string
required
projectId
number
required
to
string
required

Response

200
application/json
Success response
transaction
object
required