Two · Schema
CreateMerchantAPIKeyResponseSchema
CompanyB2B PaymentsFintechAPI PlatformCheckoutTrade Accounts
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the API key |
| hint | string | Hint for the API key (last 4 characters) |
| label | string | Label for the API key (e.g. how it was created) |
| issued_by | object | Immutable record of how the API key was created (read-only) |
| date_created | string | Date that the API key was created (UTC) |
| date_last_used | object | Date that the API key was last used (UTC) |
| date_expiry | object | Date that the API key expires (UTC) |
| usage_count | integer | Number of times the API key has been used |
| merchant_id | string | Unique identifier of the merchant |
| api_key | string | Newly created API key to pass with X-Api-Key header |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/two/json-schema/two-create-merchant-apikey-response-schema-schema.json",
"title": "CreateMerchantAPIKeyResponseSchema",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/two-api-key-api-openapi.yml#/components/schemas/CreateMerchantAPIKeyResponseSchema",
"properties": {
"id": {
"description": "Unique identifier of the API key",
"format": "uuid",
"title": "Id",
"type": "string"
},
"hint": {
"description": "Hint for the API key (last 4 characters)",
"title": "Hint",
"type": "string"
},
"label": {
"description": "Label for the API key (e.g. how it was created)",
"title": "Label",
"type": "string"
},
"issued_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Immutable record of how the API key was created (read-only)",
"title": "Issued By"
},
"date_created": {
"description": "Date that the API key was created (UTC)",
"format": "date-time",
"title": "Date Created",
"type": "string"
},
"date_last_used": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Date that the API key was last used (UTC)",
"title": "Date Last Used"
},
"date_expiry": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Date that the API key expires (UTC)",
"title": "Date Expiry"
},
"usage_count": {
"description": "Number of times the API key has been used",
"title": "Usage Count",
"type": "integer"
},
"merchant_id": {
"description": "Unique identifier of the merchant",
"format": "uuid",
"title": "Merchant Id",
"type": "string"
},
"api_key": {
"description": "Newly created API key to pass with X-Api-Key header",
"title": "Api Key",
"type": "string"
}
},
"required": [
"id",
"hint",
"label",
"date_created",
"usage_count",
"merchant_id",
"api_key"
],
"type": "object"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/two-create-merchant-apikey-response-schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.