POST
/
GetTransactionHistoryByCustomerType
curl --request POST \
  --url https://gateway.finhub.cloud/wallet/2.0.0/GetTransactionHistoryByCustomerType \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "service": "<string>",
  "product": "<string>",
  "pageNumber": 123,
  "pageSize": 123,
  "startDate": "<string>",
  "endDate": "<string>",
  "customerType": "<string>",
  "currency": "<string>",
  "customerId": "<string>",
  "searchKey": "<string>"
}'
{
  "transaction_history_by_customer_type": [
    {
      "status": "<string>",
      "context": {
        "sender": {
          "id": "<string>",
          "tenant_id": "<string>",
          "customer_id": "<string>",
          "user_name": "<string>",
          "customer_type": "<string>",
          "first_name": "<string>",
          "last_name": "<string>",
          "organization_id": "<string>",
          "company_name": "<string>"
        },
        "counter_party": {
          "id": "<string>",
          "tenant_id": "<string>",
          "customer_id": "<string>",
          "customer_type": "<string>",
          "short_name": "<string>",
          "first_name": "<string>",
          "last_name": "<string>",
          "email": "<string>",
          "phone_number": "<string>",
          "company_name": "<string>",
          "status": "<string>",
          "organization_id": "<string>",
          "allow_save": true
        },
        "beneficiary": {
          "party_type": "<string>",
          "beneficiary_id": "<string>",
          "status": "<string>",
          "currency": "<string>",
          "iban": "<string>",
          "organization_id": "<string>",
          "first_name": "<string>",
          "last_name": "<string>",
          "address": "<string>",
          "country": "<string>",
          "email": "<string>",
          "phone_number": "<string>",
          "user_name": "<string>",
          "short_name": "<string>",
          "company_name": "<string>",
          "pep_check_result": "<string>",
          "pep_checked_on": "<string>",
          "pep_confirmed_on": "<string>"
        },
        "note": "<string>"
      },
      "created_at": "<string>",
      "order_type": "<string>",
      "order_id": "<string>",
      "currency": "<string>",
      "spent_amount": "<string>",
      "received_amount": "<string>",
      "tenant_fee": "<string>",
      "external_order_id": "<string>"
    }
  ],
  "total_count": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json

Created

The response is of type object.