Mint API key
Mint a Merge Gateway API key scoped to this customer. The raw key is returned ONCE, in key. Requires an organization-level access key. Max 5 keys per customer.
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Path parameters
customer_id
Request
This endpoint expects an object.
name
spending_limit
Per-key spend cap over reset_period, independent of the customer’s budget.
reset_period
Requires spending_limit.
Allowed values:
rate_limit_rpm
rate_limit_tpm
Response
Successful Response
key
The raw secret. Shown only in this response; store it now.
id
Key identifier; pass to DELETE.
customer
The customer this key is bound to (immutable).
name
key_prefix
is_active
spending_limit
reset_period
rate_limit_rpm
rate_limit_tpm
created_at
expires_at