Pular para o conteúdo

Get sub-tenant client secret

Recovers the IAM credentials of a sub-tenant by its subTenantId. The response echoes the eppIamClientId, but the eppIamClientSecret is returned masked — this endpoint is meant for credential discovery, not for retrieving the plain-text secret.

GET/api/v1/sub-tenants/{subTenantId}/client-secret

Get sub-tenant client secret

Returns the IAM client ID (and a masked secret) of a sub-tenant.

Auth: Bearer Token

Parâmetros de path

1 campo
subTenantId
pathstring

Business identifier of the sub-tenant.

curl --request GET \
  --url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/sub-tenants/subTenant123/client-secret' \
  --header 'Authorization: Bearer <SEU_TOKEN>'

Response

200Credentials retrieved successfully.
Response body
object
  • dataarray of objectsrequired

    Credential entries for the sub-tenant.

    • itemobject
  • messagestring

    Response message.

  • typestring

    Response type. One of `error`, `warning`, `info`, `success`.

  • statusCodeinteger· nullable

    HTTP status code carried inside the envelope.

200 · Credentials retrieved successfully.
{
  "data": [
    {
      "subTenantId": "subTenant123",
      "eppIamClientId": "eppClient123",
      "eppIamClientSecret": "****"
    }
  ],
  "message": "OK",
  "type": "success",
  "statusCode": 200
}

Next steps

  • Get your credentials — use the eppIamClientId returned above to issue an access token for this sub-tenant.