Paddle Billing
Search

Generate an authentication token for a customer

posthttps://api.paddle.com/customers/{customer_id}/auth-token

Generates an authentication token for a customer. You can pass a generated authentication token to Paddle.js when opening a checkout to let customers work with saved payment methods.

Authentication tokens are temporary and shouldn't be cached. They're valid until the expires_at date returned in the response.

Path Parameters

customer_idstringrequired

Paddle ID of the customer entity to work with.

Response

dataobject

Represents a customer authentication token.

customer_auth_tokenstring

Authentication token generated by Paddle for this customer. Pass to Paddle.js when opening a checkout to let customers work with saved payment methods.

expires_atstring<date-time>

RFC 3339 datetime string of when this customer authentication token expires. The token is no longer valid after this date.

metaobject

Information about this response.

request_idstring

Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.