pub async fn create_payments(
configuration: &Configuration,
account_sid: &str,
call_sid: &str,
idempotency_key: &str,
status_callback: &str,
bank_account_type: Option<&str>,
charge_amount: Option<f32>,
currency: Option<&str>,
description: Option<&str>,
input: Option<&str>,
min_postal_code_length: Option<i32>,
parameter: Option<Value>,
payment_connector: Option<&str>,
payment_method: Option<&str>,
postal_code: Option<bool>,
security_code: Option<bool>,
timeout: Option<i32>,
token_type: Option<&str>,
valid_card_types: Option<&str>,
) -> Result<ApiPeriodV2010PeriodAccountPeriodCallPeriodPayments, Error<CreatePaymentsError>>
Expand description
create an instance of payments. This will start a new payments session