pub struct SubaccountsResponseData {Show 22 fields
pub integration: Option<u32>,
pub domain: Option<Domain>,
pub subaccount_code: String,
pub business_name: String,
pub description: Option<String>,
pub primary_contact_name: Option<String>,
pub primary_contact_email: Option<String>,
pub primary_contact_phone: Option<String>,
pub metadata: Option<String>,
pub percentage_charge: Option<f32>,
pub is_verified: Option<bool>,
pub settlement_bank: String,
pub bank_id: Option<u32>,
pub account_number: String,
pub currency: Option<Currency>,
pub active: Option<bool>,
pub settlement_schedule: Option<String>,
pub id: u32,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub product: Option<String>,
pub managed_by_integration: Option<u32>,
}Expand description
Data of the list Subaccount response
Fields§
§integration: Option<u32>Integration ID of subaccount.
domain: Option<Domain>Subaccount domain.
subaccount_code: StringThe code of the subaccount.
business_name: StringThe name of the business associated with the subaccount.
description: Option<String>The description of the business associated with the subaccount.
primary_contact_name: Option<String>The name of the primary contact for the business, if available.
primary_contact_email: Option<String>The email of the primary contact for the business, if available.
primary_contact_phone: Option<String>The phone number of the primary contact for the business, if available.
metadata: Option<String>Additional metadata associated with the subaccount, if available.
percentage_charge: Option<f32>The percentage charge for transactions associated with the subaccount.
is_verified: Option<bool>Verification status of subaccount.
settlement_bank: StringThe name of the settlement bank for the subaccount.
bank_id: Option<u32>The id of the settlement bank for the subaccount.
account_number: StringThe account number of the subaccount.
currency: Option<Currency>Currency of the subaccount
active: Option<bool>If the account is active or not, should be 1 for active and 0 for inactive
settlement_schedule: Option<String>Settlement schedule of subaccount.
id: u32The ID of the subaccount.
created_at: Option<String>Creation time of subaccount.
updated_at: Option<String>Last update time of subaccount.
product: Option<String>§managed_by_integration: Option<u32>