Agent Payout Details
Author: Rohit Agnihotri
16 views
GET
Agent Payout Details
{{URL}}/api/agent/payout/details
HEADERS
Accept
application/json
None
Content-Type
application/json
None
client
{{client}}
None
Authorization
{{Authorization}}
None
BODY raw
Example Request
- Agent Payout Details
Example Response
{- agent: {
- id: 137
- team_id: 69
- name: "Gouav test"
- profile_picture: "assets/client_00000051/agents5fedb209f1eea.jpeg/Ec9WxFN1qAgIGdU2lCcatJN5F8UuFMyQvvb4Byar.jpg"
- type: "Employee"
- vehicle_type_id: 3
- make_model: null
- plate_number: null
- phone_number: "+0000000000"
- color: null
- is_activated: 0
- is_available: 1
- is_approved: 1
- device_type: "ios"
- device_token: "token"
- access_token: "token"
- created_at: "2023-03-22T14:11:14.000000Z"
- updated_at: "2023-03-22T14:12:07.000000Z"
- cash_at_hand: "0.00"
- uid: null
- customer_type_id: null
- deleted_at: null
- razorpay_contact_json: null
- razorpay_bank_json: null
- is_pooling_available: 0
- image_url: "{{{S3Url}}/assets/client_00000051/agents5fedb209f1eea.jpeg/Ec9WxFN1qAgIGdU2lCcatJN5F8UuFMyQvvb4Byar.jpg"
- agent_cash_at_hand: 0
- agent_payment: [
] - wallet: {
- id: 137
- holder_type: "App\Model\Agent"
- holder_id: 137
- name: "Default Wallet"
- slug: "default"
- uuid: "bf20ae28-d920-4d69-916a-4530d837de05"
- description: null
- meta: [
] - balance: "0"
- decimal_places: 2
- created_at: "2023-03-22T14:11:14.000000Z"
- updated_at: "2023-03-22T14:11:14.000000Z"
} - complete_order: [
]
} - payout_options: [
- {
- id: 1
- code: "cash"
- path: ""
- title: "Off the Platform"
- credentials: null
- status: 1
- off_site: 0
- test_mode: 0
- created_at: null
- updated_at: "2022-01-28T06:53:16.000000Z"
} - {
- id: 4
- code: "bank_account_m_india"
- path: ""
- title: "Bank Account M (India)"
- credentials: null
- status: 1
- off_site: 0
- test_mode: 0
- created_at: null
- updated_at: "2022-01-28T06:53:16.000000Z"
- is_connected: 0
}
] - client_preferences: {
- id: 1
- client_id: "3c58a1"
- theme: "light"
- distance_unit: "metric"
- currency_id: 112
- language_id: 1
- agent_name: "Driver"
- acknowledgement_type: "acceptreject"
- date_format: "d-m-Y"
- time_format: 24
- map_type: "google_maps"
- map_key_1: "AIzaSyApSRZt-HrKsjH7pQUvme_BVpuIJht0juM"
- map_key_2: null
- sms_provider: "1"
- sms_provider_key_1: "AC2d20ec147884c2bce6e926bdbe5fd963"
- sms_provider_key_2: "b87d4d3ed140be272b278037cde3361c"
- allow_feedback_tracking_url: 0
- task_type: null
- order_id: null
- email_plan: "free"
- domain_name: null
- personal_access_token_v1: "qeNHq9V4ac6L5Wb1bJ6ZgoPpCW2dMg"
- personal_access_token_v2: null
- toll_fee: 0
- toll_key: null
- fcm_server_key: "AAAAK7kI-Ec:APA91bEMOUQKLEXuJssiKxfFJ0TINPhy41o46Kq5OIBMfKBc_i9aUZWi7n7OItQcRg0_La-r0YauW2XPmG0_ZIvR57U1CoJP0RVpFfTeVOzPONA6EnEdrZPDhbCR5w6am2NNZU08TqyT"
- created_at: null
- updated_at: "2023-03-21T20:19:20.000000Z"
- sms_provider_number: "+17206132646"
- allow_all_location: 0
- route_flat_input: 0
- route_alcoholic_input: 0
- customer_support: ""
- customer_support_key: ""
- customer_support_application_id: ""
- sms_credentials: "{"sms_key": "AC2d20ec147884c2bce6e926bdbe5fd963", "sms_from": "+17206132646", "sms_secret": "b87d4d3ed140be272b278037cde3361c", "static_otp": 1}"
- verify_phone_for_driver_registration: 1
- reffered_by_amount: "0.00"
- reffered_to_amount: "0.00"
- favicon: "assets/Clientfavicon/XyXXkEeEeRpizFVDNp1dDbqgoyFaApEdLzwCK4yE.ico"
- is_edit_order_driver: 1
- is_cancel_order_driver: 0
- show_limited_address: 0
- customer_notification_per_distance: null
- custom_mode: null
- auto_payout: 1
- create_batch_hours: null
- maximum_route_per_job: null
- job_consist_of_pickup_or_delivery: 0
- is_driver_slot: 0
- is_cab_pooling_toggle: 1
- warehouse_mode: "{"show_category_module": 1, "show_warehouse_module": 1}"
- radius_for_pooling_km: 100
- dashboard_mode: "{"show_dashboard_by_agent_wise": "1"}"
- charge_percent_from_agent: null
- manage_fleet: 0
- currency: {
- id: 112
- name: "Pakistani Rupee"
- priority: 100
- iso_code: "PKR"
- symbol: "₨"
- subunit: "Paisa"
- subunit_to_unit: 100
- symbol_first: 1
- html_entity: "₨"
- decimal_mark: "."
- thousands_separator: ","
- iso_numeric: 586
- created_at: null
- updated_at: null
}
} - agent_payout_list: {
- current_page: 1
- data: [
] - first_page_url: "{{Url}}/api/agent/payout/details?page=1"
- from: null
- last_page: 1
- last_page_url: "{{Url}}/api/agent/payout/details?page=1"
- next_page_url: null
- path: "{{Url}}/api/agent/payout/details"
- per_page: "10"
- prev_page_url: null
- to: null
- total: 0
} - past_payout_value: "0.00"
- available_funds: "0.00"
}