v1

latestOpenAPI 3.0.12026-07-24256962.9 KB
ClientSecrets

Create a single-use Client Secret

post/client-secrets

Headers

Trace-Idstring

A valid UUID (V4) for tracing requests. Will be returned as a header. If not present or invalid, a generated UUID will be returned.

End-User-Agentstring

A string representing the User Agent of the end user. Recommended for compliance. Required only when the request is not coming from the end user's browser.

End-User-Ipstring

The IP address of the end user. Recommended for compliance.

End-User-OSstring

The Operating System of the end user. Recommended for compliance.

End-User-Device-Idstring

A unique identifier for the end user's device. Recommended for compliance.

End-User-Device-Manufacturerstring

The manufacturer of the device used by the end user. Recommended for compliance.

End-User-Device-Modelstring

The device model used by the end user. Recommended for compliance.

Request body

type'CARD'

The type of object to create the Client Secret for. Defaults to CARD.

Example request

{
  "payer": {
    "id": "8f51c396-6e29-49a6-ba5a-1a31d5420158"
  },
  "type": "CARD"
}

Response

Client Secret created successfully

clientSecretstring

Client Secret returned by /client-secrets

Example response

{
  "clientSecret": "XYZCLIENTSECRET123"
}