Skip to main content
GET
Validate a publishable key

Authorizations

key
string
query
required

A publishable key, easner_pk_test_… or easner_pk_live_…, for browser checks only. Only the validate route accepts it.

Query Parameters

key
string
required

The publishable key, easner_pk_test_… or easner_pk_live_….

Response

The key is active.

Returned to Checkout.js in the browser. It contains no secret.

ok
any
required
mode
enum<string>
required
Available options:
test,
live
publishable_key
string
required

The payment provider's publishable key for that mode. Not your easner_pk_ key.

account_id
string | null
required

The connected payment account the SDK loads. Not an Easner acct_ id.

business
object
required