API

Facetec

Wise's FaceTec public key.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /facetec/public-key load Plain text containing the public key

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

facetec, err := client.Facetec(nil).Load(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(facetec)

Lua

Construct client as shown in the Lua setup, then call the operations:

local facetec, err = client:Facetec():load()

PHP

Construct client as shown in the PHP setup, then call the operations:

$facetec = $client->Facetec()->load();

Python

Construct client as shown in the Python setup, then call the operations:

facetec = client.Facetec().load()

Ruby

Construct client as shown in the Ruby setup, then call the operations:

facetec = client.Facetec.load()

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const facetec = await client.Facetec().load()

Fields

Field Type Required Description

load

GET /facetec/public-key

Operation ID: facetecPublicKeyGet.

Authentication: bearer token (UserToken).

Parameters

Parameter In Type Required Description
X-External-Correlation-Id header string (uuid) No Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Responses

200: Plain text containing the public key

text/plain

The response is string.

Example response:

"-----BEGIN PUBLIC KEY-----\nPublic Key Content\n-----END PUBLIC KEY-----\n"
429: Rate limit exceeded. Retry after the number of seconds specified in the Retry-After header

application/json

The response is object.