PaidGoods
API referenceCustomer account

Create an API token (the token is shown once)

POST
/v1/public/stores/{storeId}/account/security/tokens

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/public/stores/string/account/security/tokens" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "tokenPrefix": "string",  "lastUsedAt": "string",  "createdAt": "string",  "token": "string"}