Accounts
Get account payments
Accounts
Get account payments
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
API key for authentication
Path Parameters
Id of account
Body
application/json
Body
Response
201
application/json
Resource created successfully
Example:
"65fc4e136fb5c06281ac5e4e"
Example:
"622c22cf766d7a2c1fafe2d6"
Example:
"65fc31cf766d7a2c1fafe2e3"
Example:
"Wallet"
Example:
"Approved"
Example:
"Credit"
Example:
150
Example:
"USD"
Example:
"ExternalTransfer"
Example:
"2024-03-21T15:11:15.052Z"
Example:
"2024-09-05T23:53:41.885Z"
Example:
"USD2156306518"
Example:
"65e73213018090468561a60c"
Example:
"65fc4e11895eacd8b005e71c"
Example:
"External"
Example:
"0x43b4501753829064ecee79b48c9cc94f16da2b2858b3fc4d0ea682d75ada579"
Example:
"0x41196b2hd983A909a84837A311639cdf57E9f"
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"
}
}
]
}