라이선스 키 생성
다른 시스템에서 기존 라이선스 키를 가져옵니다. 키 문자열, 고객 및 제품은 모두 필수입니다.
key, customer_id 및 product_id은 모두 필수입니다. 이 엔드포인트는 사용자를 대신해 키 값을 생성하지 않습니다. 이미 존재하는 key을 가져오면 409 Conflict이 반환됩니다.인증
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
본문
The customer this license key belongs to.
The license key string to import.
The product this license key is for.
Maximum number of activations allowed. Null means unlimited.
Expiration timestamp. Null means the key never expires.
응답
License key created
Brand id this license key belongs to
The unique identifier of the business associated with the license key.
The timestamp indicating when the license key was created, in UTC.
"2024-01-01T00:00:00.000Z"
The unique identifier of the customer associated with the license key.
"cus_123"
The unique identifier of the license key.
"lic_123"
The current number of instances activated for this license key.
The license key string.
The unique identifier of the product associated with the license key.
The source of the license key - 'auto' for keys generated by payment/subscription flows, 'import' for merchant-imported keys.
auto, import, manual The current status of the license key (e.g., active, inactive, expired).
active, expired, disabled The maximum number of activations allowed for this license key.
5
The timestamp indicating when the license key expires, in UTC.
"2024-12-31T23:59:59.000Z"
The unique identifier of the payment associated with the license key, if any.
The unique identifier of the subscription associated with the license key, if any.