Get all Transactions

The /business/transactions/all endpoint provides a comprehensive overview of all transactions associated with a business account. This endpoint is essential for businesses to track, manage, and audit financial activities, including payments received, payouts made, and other transactional activities.

GET /business/transactions/all

{
  "status": "success",
  "status_code": 200,
  "message": "Records retrieved successfully",
  "data": [
    {
      "id": 14,
      "user_id": 4,
      "transaction_beneficiary_id": 4,
      "transaction_id": "a0e9e50e-81be-4bd0-9941-0151e68b9e97",
      "transaction_amount": "8.736",
      "transaction_status": "success",
      "transaction_type": "deposit",
      "transaction_memo": "payin",
      "transaction_purpose": "Deposit",
      "created_at": "2025-02-19T21:54:21.000000Z",
      "customer_id": null,
      "swap_from_currency": null,
      "swap_to_currency": null,
      "transaction_currency": "BRL",
      "base_currency": "BRL",
      "secondary_currency": "BRL",
      "beneficiary": null,
      "user": {
        "id": 4,
        "name": "John Doe",
        "email": "[email protected]",
        "firstName": "John",
        "lastName": "Doe",
        "phoneNumber": null,
        "city": "Sample City",
        "state": "Sample State",
        "country": "Sample Country",
        "zipCode": "12345",
        "street": "123 Sample Street",
        "additionalInfo": null,
        "houseNumber": "42",
        "email_verified_at": null,
        "two_factor_confirmed_at": null,
        "current_team_id": null,
        "profile_photo_path": "<https://example.com/photo.jpg>",
        "login_token_created_at": null,
        "google2fa_enabled": 0,
        "is_business": 1,
        "membership_id": "DUMMY12345",
        "kyc_status": "approved",
        "is_kyc_submitted": true,
        "last_login_at": "2025-02-03 12:32:31",
        "user_type": "business",
        "occupation": null,
        "how_much_to_move_monthly": null,
        "monthly_payment_quantity": null,
        "use_cases": null,
        "registration_country": null,
        "balances": [],
        "business_config": {
          "configs": {
            "can_issue_visa_card": false,
            "can_issue_master_card": false,
            "can_issue_bra_virtual_account": false,
            "can_issue_mxn_virtual_account": false,
            "can_issue_arg_virtual_account": false,
            "can_issue_usdt_wallet": false,
            "can_issue_usdc_wallet": false,
            "charge_business_for_deposit_fees": false,
            "charge_business_for_payout_fees": false,
            "can_hold_balance": false,
            "can_use_wallet_module": false,
            "can_use_checkout_api": false
          },
          "created_at": "2025-02-11T09:19:12.000000Z",
          "updated_at": "2025-02-11T09:19:12.000000Z"
        },
        "subscriptions": [
          {
            "id": 32,
            "plan_id": 1,
            "model_id": 4,
            "payment_method": null,
            "is_paid": true,
            "charging_price": 0,
            "charging_currency": "USD",
            "is_recurring": false,
            "recurring_each_days": 30,
            "starts_on": "2025-02-21 14:58:40",
            "expires_on": "2025-03-23 14:58:41",
            "cancelled_on": null,
            "created_at": "2025-02-21T14:58:41.000000Z",
            "updated_at": "2025-02-21T14:58:41.000000Z"
          }
        ]
      }
    }
  ],
  "pagination": {
    "total": 6,
    "per_page": 1,
    "current_page": 1,
    "last_page": 6,
    "next_page_url": "<https://api.yativo.com/api/v1/business/transactions/all?per_page=1&page=2>",
    "prev_page_url": null
  }
}

Get single Transaction

GET /business/transaction/show/:id

{
  "status": "success",
  "status_code": 200,
  "message": "Request successful",
  "data": {
    "id": 14,
    "user_id": 4,
    "transaction_beneficiary_id": 4,
    "transaction_id": "a0e9e50e-81be-4bd0-9941-0151e68b9e97",
    "transaction_amount": "8.736",
    "transaction_status": "success",
    "transaction_type": "deposit",
    "transaction_memo": "payin",
    "transaction_purpose": "Deposit",
    "created_at": "2025-02-19T21:54:21.000000Z",
    "customer_id": null,
    "swap_from_currency": null,
    "swap_to_currency": null,
    "transaction_currency": "BRL",
    "base_currency": "BRL",
    "secondary_currency": "BRL",
    "beneficiary": null,
    "user": {
      "id": 4,
      "name": "Jane Doe",
      "email": "[email protected]",
      "firstName": "Jane",
      "lastName": "Doe",
      "phoneNumber": "+1234567890",
      "city": "Sample City",
      "state": "Sample State",
      "country": "Neverland",
      "zipCode": "12345",
      "street": "Sample Street",
      "additionalInfo": "Apt 101",
      "houseNumber": "42B",
      "email_verified_at": null,
      "two_factor_confirmed_at": null,
      "current_team_id": null,
      "profile_photo_path": "<https://via.placeholder.com/96>",
      "login_token_created_at": null,
      "google2fa_enabled": 0,
      "is_business": 1,
      "membership_id": "XYZ1234567",
      "kyc_status": "approved",
      "is_kyc_submitted": true,
      "last_login_at": "2025-02-03 12:32:31",
      "user_type": "business",
      "occupation": "Software Engineer",
      "how_much_to_move_monthly": "1000-5000 USD",
      "monthly_payment_quantity": "10-50",
      "use_cases": "International payments",
      "registration_country": "Neverland",
      "balances": [],
      "business_config": {
        "configs": {
          "can_issue_visa_card": false,
          "can_issue_master_card": false,
          "can_issue_bra_virtual_account": false,
          "can_issue_mxn_virtual_account": false,
          "can_issue_arg_virtual_account": false,
          "can_issue_usdt_wallet": false,
          "can_issue_usdc_wallet": false,
          "charge_business_for_deposit_fees": false,
          "charge_business_for_payout_fees": false,
          "can_hold_balance": false,
          "can_use_wallet_module": false,
          "can_use_checkout_api": false
        },
        "created_at": "2025-02-11T09:19:12.000000Z",
        "updated_at": "2025-02-11T09:19:12.000000Z"
      },
      "subscriptions": [
        {
          "id": 32,
          "plan_id": 1,
          "model_id": 4,
          "model_type": "App\\\\Models\\\\User",
          "payment_method": null,
          "is_paid": true,
          "charging_price": 0,
          "charging_currency": "USD",
          "is_recurring": false,
          "recurring_each_days": 30,
          "starts_on": "2025-02-21 14:58:40",
          "expires_on": "2025-03-23 14:58:41",
          "cancelled_on": null,
          "created_at": "2025-02-21T14:58:41.000000Z",
          "updated_at": "2025-02-21T14:58:41.000000Z"
        }
      ]
    },
    "payin_method": {
      "id": 20,
      "method_name": "Pix",
      "country": "BRA",
      "currency": "BRL",
      "payment_mode_code": null,
      "Working_hours_start": null,
      "Working_hours_end": null,
      "required_extra_data": null,
      "base_currency": "BRL,USD"
    },
    "payout_method": {
      "id": 20,
      "method_name": "PayPal",
      "country": "PAN",
      "currency": "USD",
      "payment_method_code": null,
      "cutoff_hrs_start": null,
      "cutoff_hrs_end": null,
      "base_currency": "USD",
      "exchange_rate_float": "0"
    }
  }
}