Check out our upcoming events and meetups! View events →
Returns the payment auto recharge preferences.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const autoRechargePrefs = await client.payment.autoRechargePrefs.list();
console.log(autoRechargePrefs.data);{
"data": {
"id": "1524126400473204723",
"record_type": "auto_recharge_pref",
"threshold_amount": "104.00",
"recharge_amount": "104.00",
"enabled": true,
"invoice_enabled": true,
"preference": "credit_paypal"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const autoRechargePrefs = await client.payment.autoRechargePrefs.list();
console.log(autoRechargePrefs.data);{
"data": {
"id": "1524126400473204723",
"record_type": "auto_recharge_pref",
"threshold_amount": "104.00",
"recharge_amount": "104.00",
"enabled": true,
"invoice_enabled": true,
"preference": "credit_paypal"
}
}