Transaction

Grant Access Token to a Customer

Role Requirements

tenant-transaction-write or tenant-admin

Description

Grants a customer an access token to manage their details in the customer vault.

Securitybearer
Request
header Parameters
x-account-id
required
string

The Account Id.

x-tenant-id
required
string

The Tenant Id.

x-correlation-id
string

Correlation Id for the request.

Request Body schema:
customerRef
string or null
expirySeconds
integer or null <int32>
Responses
201

Created - Returns an access token response.

401

Unauthorized

403

Forbidden

post/v2/grant/customer
Request samples
{
  • "customerRef": "string",
  • "expirySeconds": 0
}
Response samples
application/json
{
  • "accessToken": "string",
  • "expires": 0
}
Copyright 2024 Duck Creek Technologies. All Rights Reserved.