POST
/
accounts
/
{account_id}
/
transactions
curl --request POST \
  --url https://api.finup.io/accounts/{account_id}/transactions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "filters": {
    "side": [
      "<string>"
    ],
    "type": [
      "<string>"
    ],
    "status": [
      "<string>"
    ],
    "source_id": "<string>",
    "search": "<string>",
    "from_created_at": "<string>",
    "include_internal_transfer": true,
    "to_created_at": "<string>",
    "timezone": "<string>"
  },
  "pagination": {}
}'
{
  "result": [
    {
      "id": "65fc4e136fb5c06281ac5e4e",
      "account_id": "622c22cf766d7a2c1fafe2d6",
      "source_id": "65fc31cf766d7a2c1fafe2e3",
      "source": "Wallet",
      "status": "Approved",
      "side": "Credit",
      "amount": 150,
      "currency": "USD",
      "type": "ExternalTransfer",
      "created_at": "2024-03-21T15:11:15.052Z",
      "updated_at": "2024-09-05T23:53:41.885Z",
      "source_identifier": "USD2156306518",
      "external_transfer_data": {
        "payment_method": "65e73213018090468561a60c",
        "external_transfer_id": "65fc4e11895eacd8b005e71c",
        "sub_type": "External",
        "hash": "0x43b4501753829064ecee79b48c9cc94f16da2b2858b3fc4d0ea682d75ada579",
        "address_to": "0x41196b2hd983A909a84837A311639cdf57E9f"
      }
    }
  ]
}

Headers

x-api-key
string
required

API key for authentication

Path Parameters

account_id
string
required

Id of account

Body

application/json
Body
filters
object
required
pagination
object
required

Response

201
application/json
Resource created successfully
result
object[]