InformationTitleEdit an existing clientURL Name44001076764-edit-clientAnswerEdits an existing client on your account. Send a POST request to https://api.transmitsms.com/edit-client.json with the parameters below. Only send the parameters you want to change. Parameter Description Required client_idThe ID of the clientYESnameClient company nameNOcontactContact nameNOemailClient email addressNOpasswordClient passwordNO msisdn Client phone number, internationally formatted (e.g. AU 61491570156, UK 447500017696)NOtimezoneA valid TZ zone name, e.g. Australia/Sydney. Defaults to your own.NOclient_paysBoolean. true if the client pays, false if you pay. When false, margins and top-up settings are reset to zero.NOsms_marginAmount added to the base SMS price, in minor currency units (cents, pence). A decimal value, credited to you.NOnumber_marginAmount added to the base virtual number lease price, in minor currency units. A decimal value.NOpayment_method fixed or variable. With fixed, every top-up is processed at the fixed_top_up_amount and the client cannot change it. A client already on a fixed amount cannot be moved back to variable through this endpoint. The request succeeds but the setting is unchanged. Contact support to switch a client back. NOfixed_top_up_amountThe set top-up amount for the client. Required when payment_method is fixed, ignored otherwise. Rounded to whole units and capped at your account's default top-up maximum.NOauto_recharge_amountAmount added automatically when the client's balance runs out, charged to their stored card. Set to 0 to disable. Requires client_pays to be true.NOlongcodeExisting virtual number to assign to the client.NOlongcode_lease_priceLease charge for the virtual number.NOlongcode_exclusiveyes or no. Controls exclusive access to the number.NO Notes Parameters you omit keep their current values.email cannot be changed through this endpoint.A client on a fixed payment method cannot be switched back to variable through this endpoint. Contact support to switch a client back.All amounts are in your account's currency.Auto recharge stays inactive until the client adds a payment card in Billing Settings.On a fixed payment method, auto recharge always uses the fixed_top_up_amount.get-client returns the fixed amount as both fixed_top_up_amount and recharge_amount, and the auto recharge setting as auto_recharge_amount. Example JSON Response XML Response PHP Example