v1

latestOpenAPI 3.0.32026-07-2485236250.4 KB
Activity Feed

Get activity feed

Retrieves both transactional and non-transactional activities for the user

get/api/v1/activity/feed

Query parameters

page_numberinteger

PageNumber number

page_sizeinteger

Size of the page. If no page size is provided, default page size is used (25).

sort'name' | 'usage'

Sort parameter - "name" for ascending name sort (default) or "usage" for descending usage count sort

subjectstring

Filter by subject (wallet address, card ID, or account reference) (<span style="color:red">SHOULD NOT</span> be provided if types are provided)

typesstring[]

Filter by activity types (<span style="color:red">SHOULD NOT</span> be provided if subject is provided)

Response

OK

Example response

{
  "data": [
    {
      "activity_steps": [
        {
          "completed_at": "2021-01-01T00:00:00Z",
          "created_at": "2021-01-01T00:00:00Z",
          "hash": "0x7e4f485273aebd152ba5e8dd0bf49066fadc046ba192b3a3f2e880218c3bc85a",
          "status_reason": "InsufficientFunds"
        }
      ],
      "created_at": "2021-01-01T00:00:00Z",
      "destination": {
        "bank_account": {
          "account_number": "12345678",
          "account_type": "SAVINGS",
          "bank_code": "012",
          "bank_name": "HDFC Bank",
          "bic": "NWBKGB2L",
          "clabe": "NWBKGB2L",
          "document_number": "1234567890",
          "document_type": "CC",
          "fps_id": "1234567",
          "fps_id_type": "MOBILE",
          "iban": "GB29NWBK60161331926819",
          "ifsc_code": "HDFC0000123",
          "owner_name": "Alex Gray",
          "pix_key": "john.doe@example.com",
          "pix_key_type": "EMAIL",
          "routing_number": "123456789",
          "sort_code": "123456",
          "swift_code": "HSBCHKHHHKH"
        },
        "card": {
          "id": "00000000-0000-0000-0000-000000000001",
          "pan_last": "1234",
          "payment_system": "Visa"
        },
        "cross_chain_wallet": {
          "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
          "tag": "123456",
          "transport": "Ethereum"
        },
        "loan_position": {
          "id": "00000000-0000-0000-0000-000000000001"
        },
        "merchant": {
          "category": "Retail",
          "full_address": "123 Main St, San Francisco, CA, 94107, US",
          "id": "00000000-0000-0000-0000-000000000001",
          "latitude": "37.7749",
          "logo_url": "https://example.com/logo.png",
          "longitude": "-122.4194",
          "mcc": "5411",
          "name": "Amazon",
          "phone_number": "+61405832003",
          "website_url": "https://example.com"
        },
        "savings_account": {
          "id": "00000000-0000-0000-0000-000000000001"
        },
        "wallet": {
          "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE"
        }
      },
      "destination_amount": {
        "amount": 100,
        "currency": "USD",
        "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
        "token_symbol": "USDT"
      },
      "fee_amount": {
        "amount": 100,
        "currency": "USD",
        "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
        "token_symbol": "USDT"
      },
      "id": "00000000-0000-0000-0000-000000000001",
      "operations": [
        {
          "hash": "0x28da8dec81198cd43329c92ac5b7bcb048a48495bdbc69fc1c921da72fe42939",
          "operation_amount": {
            "amount": 100,
            "currency": "USD",
            "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "token_symbol": "USDT"
          },
          "operation_id": "00000000-0000-0000-0000-000000000001",
          "rate": {
            "rate": 1.2,
            "ticker": "EUR/USDT"
          },
          "status_reason": "Transaction failed",
          "transaction_amount": {
            "amount": 100,
            "currency": "USD",
            "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "token_symbol": "USDT"
          }
        }
      ],
      "rate": {
        "rate": 1.2,
        "ticker": "EUR/USDT"
      },
      "recipient": {
        "id": "00000000-0000-0000-0000-000000000001",
        "name": "John Doe"
      },
      "reference": "Payment for the order #123",
      "reward": {
        "amount": {
          "amount": 100,
          "currency": "USD",
          "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
          "token_symbol": "USDT"
        },
        "description": "Cashback for card purchase",
        "destination": {
          "bank_account": {
            "account_number": "12345678",
            "account_type": "SAVINGS",
            "bank_code": "012",
            "bank_name": "HDFC Bank",
            "bic": "NWBKGB2L",
            "clabe": "NWBKGB2L",
            "document_number": "1234567890",
            "document_type": "CC",
            "fps_id": "1234567",
            "fps_id_type": "MOBILE",
            "iban": "GB29NWBK60161331926819",
            "ifsc_code": "HDFC0000123",
            "owner_name": "Alex Gray",
            "pix_key": "john.doe@example.com",
            "pix_key_type": "EMAIL",
            "routing_number": "123456789",
            "sort_code": "123456",
            "swift_code": "HSBCHKHHHKH"
          },
          "card": {
            "id": "00000000-0000-0000-0000-000000000001",
            "pan_last": "1234",
            "payment_system": "Visa"
          },
          "cross_chain_wallet": {
            "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
            "tag": "123456",
            "transport": "Ethereum"
          },
          "loan_position": {
            "id": "00000000-0000-0000-0000-000000000001"
          },
          "merchant": {
            "category": "Retail",
            "full_address": "123 Main St, San Francisco, CA, 94107, US",
            "id": "00000000-0000-0000-0000-000000000001",
            "latitude": "37.7749",
            "logo_url": "https://example.com/logo.png",
            "longitude": "-122.4194",
            "mcc": "5411",
            "name": "Amazon",
            "phone_number": "+61405832003",
            "website_url": "https://example.com"
          },
          "savings_account": {
            "id": "00000000-0000-0000-0000-000000000001"
          },
          "wallet": {
            "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE"
          }
        },
        "details": {
          "cryptoback": {
            "percent": 1.5
          }
        },
        "id": "00000000-0000-0000-0000-000000000001"
      },
      "rrn": "123456789012",
      "source": {
        "bank_account": {
          "account_number": "12345678",
          "account_type": "SAVINGS",
          "bank_code": "012",
          "bank_name": "HDFC Bank",
          "bic": "NWBKGB2L",
          "clabe": "NWBKGB2L",
          "document_number": "1234567890",
          "document_type": "CC",
          "fps_id": "1234567",
          "fps_id_type": "MOBILE",
          "iban": "GB29NWBK60161331926819",
          "ifsc_code": "HDFC0000123",
          "owner_name": "Alex Gray",
          "pix_key": "john.doe@example.com",
          "pix_key_type": "EMAIL",
          "routing_number": "123456789",
          "sort_code": "123456",
          "swift_code": "HSBCHKHHHKH"
        },
        "card": {
          "id": "00000000-0000-0000-0000-000000000001",
          "pan_last": "1234",
          "payment_system": "Visa"
        },
        "cross_chain_wallet": {
          "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
          "tag": "123456",
          "transport": "Ethereum"
        },
        "loan_position": {
          "id": "00000000-0000-0000-0000-000000000001"
        },
        "merchant": {
          "category": "Retail",
          "full_address": "123 Main St, San Francisco, CA, 94107, US",
          "id": "00000000-0000-0000-0000-000000000001",
          "latitude": "37.7749",
          "logo_url": "https://example.com/logo.png",
          "longitude": "-122.4194",
          "mcc": "5411",
          "name": "Amazon",
          "phone_number": "+61405832003",
          "website_url": "https://example.com"
        },
        "savings_account": {
          "id": "00000000-0000-0000-0000-000000000001"
        },
        "wallet": {
          "address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE"
        }
      },
      "source_amount": {
        "amount": 100,
        "currency": "USD",
        "token_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE",
        "token_symbol": "USDT"
      },
      "status_reason": "Transaction failed",
      "sub_type": "Payment",
      "user_address": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE"
    }
  ]
}