paddle_list_credit_balances | R Documentation |
Retrieves credit balances across all currencies for a specific customer from the Paddle API.
paddle_list_credit_balances(id, currency_code = NULL)
id |
Character. Paddle customer ID (e.g., "ctm_123"). Required. |
currency_code |
Optional character vector of ISO 4217 currency codes to filter results. |
A list of credit balances by currency with available, reserved, and used totals.
set_paddle_mode("sandbox")
result <- paddle_list_credit_balances(
id = "ctm_123",
currency_code = c("USD", "EUR")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.