Creates a temporary authentication token for a customer. The token allows Paddle.js to present saved payment methods at checkout.

paddle_generate_auth_token(id)

Arguments

id

Paddle customer ID (required).

Value

A list containing the auth token and expiry details.

Examples

if (FALSE) { # paddle_has_token()
set_paddle_mode("sandbox")
result <- paddle_generate_auth_token("ctm_123")
}