Create a personalization design
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
stripe-2026.07.12.2 - Descriptor hash:
eb7b7f7c74eb00d2e1f641c69c0e1aebf56550fb465472965e03f95f2c94fef8
Use this when you need Stripe to perform POST /v1/issuing/personalization_designs: Create a personalization design. Path parameters required in path_params: none. Query/filter parameters may include: provider-defined filters. Writes to Stripe only when dry_run is false and confirm is true. The default dry_run preview makes no provider call. POST requests require an idempotency_key by default. Destructive tools require confirmation_text equal to the tool name. Requires MAD MCP Portal grant plus Stripe provider auth via x-stripe-api-key or STRIPE_API_KEY.
Request Body
{
"jsonrpc": "2.0",
"id": "stripe-stripe-create-v1-issuing-personalization-designs-example",
"method": "tools/call",
"params": {
"name": "stripe.stripe-create-v1-issuing-personalization-designs",
"arguments": {
"data": "",
"query": "",
"expand": "",
"fields": "",
"confirm": false,
"dry_run": false,
"file_name": "",
"profileId": "",
"file_base64": "",
"path_params": ""
}
}
}
Arguments Schema
{
"type": "object",
"properties": {
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Stripe request body parameters using provider field names. Nested dict/list values are encoded safely."
},
"query": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Stripe query parameters. Use sparingly; most writes belong in data."
},
"expand": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Stripe fields to expand in the response. Keep short to reduce latency and output size."
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Optional top-level fields to keep when response_mode is metadata or payload."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Set true only after reviewing dry_run output and user approval. Required to execute writes."
},
"dry_run": {
"type": "boolean",
"default": true,
"description": "When true, return a preview and do not call Stripe. Defaults to true for write safety."
},
"file_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Required file name when file_base64 is provided."
},
"profileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MAD MCP Portal routing hint only. When multiple Stripe profiles are connected and portal.select_service_profile is unavailable, pass the chosen profile id here; the portal consumes it before forwarding. Direct Stripe MCP runtime ignores this value."
},
"file_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional base64 file content for Stripe multipart upload endpoints. Omit for normal writes."
},
"path_params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Path parameter values keyed by Stripe placeholder name, for example {'customer': 'cus_...'}.'"
},
"profileSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MAD MCP Portal routing hint only. When multiple Stripe profiles are connected and portal.select_service_profile is unavailable, pass the chosen profile slug here; the portal consumes it before forwarding. Direct Stripe MCP runtime ignores this value."
},
"response_mode": {
"enum": [
"compact",
"metadata",
"payload"
],
"type": "string",
"default": "compact",
"description": "compact returns key fields; metadata returns redacted JSON metadata; payload returns redacted JSON text."
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Unique non-sensitive key for safely retrying POST writes. Required by default for POST execution."
},
"max_output_chars": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Maximum response JSON characters. Clamped by STRIPE_MAX_OUTPUT_CHARS."
},
"confirmation_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "For destructive endpoints, must exactly equal this tool name before execution."
},
"file_content_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional MIME type for file_base64 uploads."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or provider operation completed successfully."
},
"data": {
"description": "Compact redacted provider data when available."
},
"error": {
"description": "Safe error details when ok is false."
},
"recovery": {
"type": "string",
"description": "Safe next step for correcting configuration or input."
},
"truncated": {
"type": "boolean",
"description": "Whether output was bounded by the configured response limit."
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Safe Stripe request identifier for support correlation."
},
"status_code": {
"type": "integer",
"description": "Stripe HTTP status code when a provider request was made."
}
},
"description": "Bounded, secret-safe Stripe MCP operation result.",
"additionalProperties": true
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "stripe-stripe-create-v1-issuing-personalization-designs-example",
"method": "tools/call",
"params": {
"name": "stripe.stripe-create-v1-issuing-personalization-designs",
"arguments": {
"data": "",
"query": "",
"expand": "",
"fields": "",
"confirm": false,
"dry_run": false,
"file_name": "",
"profileId": "",
"file_base64": "",
"path_params": ""
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "stripe-stripe-create-v1-issuing-personalization-designs-example",
"method": "tools/call",
"params": {
"name": "stripe.stripe-create-v1-issuing-personalization-designs",
"arguments": {
"data": "",
"query": "",
"expand": "",
"fields": "",
"confirm": false,
"dry_run": false,
"file_name": "",
"profileId": "",
"file_base64": "",
"path_params": ""
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "stripe-stripe-create-v1-issuing-personalization-designs-example",
"method": "tools/call",
"params": {
"name": "stripe.stripe-create-v1-issuing-personalization-designs",
"arguments": {
"data": "",
"query": "",
"expand": "",
"fields": "",
"confirm": false,
"dry_run": false,
"file_name": "",
"profileId": "",
"file_base64": "",
"path_params": ""
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool stripe.stripe-create-v1-issuing-personalization-designs executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}