{
"error": {
"code": "COUPON_CODE_TAKEN",
"message": "Já existe um cupom com este código."
}
}
Coupons
Create a coupon
Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.
YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.
3 to 32 characters from A-Z, 0-9, _ and -, after trimming. Stored uppercase, so black10 is saved as BLACK10. Unique among the coupons of your account in this environment that are not deleted (409 COUPON_CODE_TAKEN).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"YuvexPay","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/yuvexpay/_p0fopc5ZJwqr6Ao/logo/light.png?fit=max\u0026auto=format\u0026n=_p0fopc5ZJwqr6Ao\u0026q=85\u0026s=85eb8014f41b3db8d62050d2ff2d17eb","dark":"https://mintcdn.com/yuvexpay/_p0fopc5ZJwqr6Ao/logo/dark.png?fit=max\u0026auto=format\u0026n=_p0fopc5ZJwqr6Ao\u0026q=85\u0026s=bb76c5782cd7c2617b6337f945d8ce09"},"favicon":"https://mintcdn.com/yuvexpay/y4ZbUn0Z_aeTofU3/favicon.svg?fit=max\u0026auto=format\u0026n=y4ZbUn0Z_aeTofU3\u0026q=85\u0026s=149e82b739356ac0368489279ddb2785","api":{},"navbar":{"links":[{"href":"mailto:support@yuvexpay.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.yuvexpay.com"}},"footer":{"socials":{"github":"https://github.com/yuvexpay"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.yuvexpay.com"},{"anchor":"API status","icon":"signal","href":"https://status.yuvexpay.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yuvexpay","hasAudioNarration":false,"actualSubdomain":"yuvexpay","customDomains":["docs.yuvexpay.com"],"gitSource":{"type":"github","owner":"yuvexpay","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae649c58b8badc2e42a5dc2","collectionId":"3aa12b13-772e-40e2-921f-bca247649a2e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae649c58b8badc2e42a5dc2"},"entitlements":{},"buildId":"6ae676c4c01b8679a4ae8421","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API reference","count":38},{"language":"default","tag":"Products","count":13},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Payments","count":8},{"language":"default","tag":"Core concepts","count":6},{"language":"default","tag":"Coupons","count":5},{"language":"default","tag":"Customers","count":5},{"language":"default","tag":"Withdrawals","count":4},{"language":"default","tag":"Documents","count":3},{"language":"default","tag":"Getting started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/coupons/create","slug":"/api-reference/coupons/create","pageMetadata":{"title":"Create a coupon","openapi":"POST /v1/coupons","description":"Create a discount coupon. Requires the `coupons:write` scope. Apply it with `couponCode` on `POST /v1/payments`, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a `ypk_test_` key manages sandbox coupons and a `ypk_live_` key production coupons, and a payment uses only coupons of its own environment.","href":"/api-reference/coupons/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a discount coupon. Requires the \", _jsx(_components.code, {\n children: \"coupons:write\"\n }), \" scope. Apply it with \", _jsx(_components.code, {\n children: \"couponCode\"\n }), \" on \", _jsx(_components.code, {\n children: \"POST /v1/payments\"\n }), \", or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a \", _jsx(_components.code, {\n children: \"ypk_test_\"\n }), \" key manages sandbox coupons and a \", _jsx(_components.code, {\n children: \"ypk_live_\"\n }), \" key production coupons, and a payment uses only coupons of its own environment.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a coupon","openapi":"POST /v1/coupons","description":"Create a discount coupon. Requires the `coupons:write` scope. Apply it with `couponCode` on `POST /v1/payments`, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a `ypk_test_` key manages sandbox coupons and a `ypk_live_` key production coupons, and a payment uses only coupons of its own environment.","href":"/api-reference/coupons/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createCoupon","summary":"Create a coupon","description":"Create a discount coupon. Requires the `coupons:write` scope. Apply it with `couponCode` on `POST /v1/payments`, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a `ypk_test_` key manages sandbox coupons and a `ypk_live_` key production coupons, and a payment uses only coupons of its own environment.","tags":["Coupons"],"parameters":["431632b1-5052-4869-8467-c697abd6f5c7"],"requestBody":"ae06e402-7cbd-4b95-ac81-37aa08bf83b3","responses":{"201":"52f0697c-0533-4229-a423-4ee49cc43a6d","400":"cabceb64-707f-46d6-9c39-34c1dae601b8","401":"bd3b4fd0-5caa-4d7c-8075-05a393eb6ad2","403":"46708c83-a34a-4a14-827e-7125435ac99d","409":"d80b5dfa-8e93-4abd-8c58-be24071d7fb0"},"method":"post","type":"path","servers":["d18a7e01-88e0-4d32-9908-4c9c5a133e31"],"security":["4ec66979-ddaa-4b09-ac62-37f6db20b6d4"],"path":"/v1/coupons","baseUrlOptions":["https://api.yuvexpay.com"],"title":"Create a coupon","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"431632b1-5052-4869-8467-c697abd6f5c7":{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":100,"isRequired":false,"description":"Optional on this endpoint. When sent, a `2xx` response is stored for 24 hours and replayed for a retry with the same key and body.","uniqueKey":"","typeLabel":"string"},"description":"Optional on this endpoint. When sent, a `2xx` response is stored for 24 hours and replayed for a retry with the same key and body."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"3 to 32 characters from `A-Z`, `0-9`, `_` and `-`, after trimming. Stored uppercase, so `black10` is saved as `BLACK10`. Unique among the coupons of your account in this environment that are not deleted (`409 COUPON_CODE_TAKEN`).","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["PERCENT","FIXED"],"description":"`PERCENT` requires `percentBp` and `FIXED` requires `amount`; sending the other field, or neither, returns `400 COUPON_VALUE_INVALID`.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"percentBp":{"type":"integer","minimum":1,"maximum":10000,"description":"`PERCENT` only: the discount in basis points, `1` to `10000` (`10000` is 100%).","uniqueKey":"percentBp","typeLabel":"integer"},"amount":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"`FIXED` only: the discount in BRL, at most 2 decimal places.","uniqueKey":"amount","typeLabel":"number"},"validFrom":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 date-time with an offset or `Z`. Inclusive.","uniqueKey":"validFrom.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 date-time with an offset or `Z`. Inclusive.","uniqueKey":"validFrom.oneOf.1","typeLabel":"null"}],"uniqueKey":"validFrom","typeLabel":"string\u003cdate-time> | null"},"validUntil":{"oneOf":[{"type":"string","format":"date-time","description":"ISO 8601 date-time with an offset or `Z`. Exclusive. Must be after `validFrom` (`400 COUPON_WINDOW_INVALID`).","uniqueKey":"validUntil.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"ISO 8601 date-time with an offset or `Z`. Exclusive. Must be after `validFrom` (`400 COUPON_WINDOW_INVALID`).","uniqueKey":"validUntil.oneOf.1","typeLabel":"null"}],"uniqueKey":"validUntil","typeLabel":"string\u003cdate-time> | null"},"maxRedemptions":{"oneOf":[{"type":"integer","minimum":1,"maximum":1000000,"description":"Total uses, counting payments holding the coupon and completed ones. Omitted or `null`: no limit.","uniqueKey":"maxRedemptions.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":1000000,"description":"Total uses, counting payments holding the coupon and completed ones. Omitted or `null`: no limit.","uniqueKey":"maxRedemptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"maxRedemptions","typeLabel":"integer | null"},"maxRedemptionsPerBuyer":{"oneOf":[{"type":"integer","minimum":1,"maximum":1000000,"description":"Uses per payer e-mail, checked when the e-mail is known. Omitted or `null`: no limit.","uniqueKey":"maxRedemptionsPerBuyer.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":1000000,"description":"Uses per payer e-mail, checked when the e-mail is known. Omitted or `null`: no limit.","uniqueKey":"maxRedemptionsPerBuyer.oneOf.1","typeLabel":"null"}],"uniqueKey":"maxRedemptionsPerBuyer","typeLabel":"integer | null"},"productIds":{"type":"array","maxItems":100,"default":[],"items":{"type":"string","format":"uuid","uniqueKey":"productIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Products of your account in this environment that the discount covers (`400 COUPON_PRODUCT_NOT_FOUND` otherwise). Empty: the whole order.","uniqueKey":"productIds","typeLabel":"string\u003cuuid>[]"},"active":{"type":"boolean","default":true,"uniqueKey":"active","typeLabel":"boolean"}},"required":["code","type"],"uniqueKey":"","typeLabel":"object"},"examples":{"percent":{"title":"percent","value":{"code":"black10","type":"PERCENT","percentBp":1000,"validFrom":"2026-11-27T00:00:00-03:00","validUntil":"2026-12-01T00:00:00-03:00","maxRedemptions":500,"maxRedemptionsPerBuyer":1}},"fixed":{"title":"fixed","value":{"code":"BONE20","type":"FIXED","amount":20,"productIds":["8a3f1c2e-6b4d-4e7a-9c1b-2d3e4f5a6b7c"]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"52f0697c-0533-4229-a423-4ee49cc43a6d":{"description":"Coupon created.","content":{"application/json":{"schema":{"type":"object","properties":{"coupon":{"type":"object","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"coupon.id","typeLabel":"string\u003cuuid>"},"code":{"type":"string","description":"Uppercase code, 3 to 32 characters from `A-Z`, `0-9`, `_` and `-`.","example":"BLACK10","isRequired":true,"uniqueKey":"coupon.code","typeLabel":"string"},"type":{"type":"string","enum":["PERCENT","FIXED"],"isRequired":true,"uniqueKey":"coupon.type","typeLabel":"enum\u003cstring>"},"percentBp":{"oneOf":[{"type":"integer","minimum":1,"maximum":10000,"description":"`PERCENT` only: the discount in basis points, `1500` for 15% and `10000` for 100%. `null` on a `FIXED` coupon.","isRequired":true,"uniqueKey":"coupon.percentBp.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":10000,"description":"`PERCENT` only: the discount in basis points, `1500` for 15% and `10000` for 100%. `null` on a `FIXED` coupon.","isRequired":true,"uniqueKey":"coupon.percentBp.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.percentBp","typeLabel":"integer | null"},"amount":{"oneOf":[{"type":"number","description":"`FIXED` only: the discount in BRL. `null` on a `PERCENT` coupon.","isRequired":true,"uniqueKey":"coupon.amount.oneOf.0","typeLabel":"number"},{"type":"null","description":"`FIXED` only: the discount in BRL. `null` on a `PERCENT` coupon.","isRequired":true,"uniqueKey":"coupon.amount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.amount","typeLabel":"number | null"},"validFrom":{"oneOf":[{"type":"string","format":"date-time","description":"The coupon works from this time on, inclusive. `null`: no start.","isRequired":true,"uniqueKey":"coupon.validFrom.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The coupon works from this time on, inclusive. `null`: no start.","isRequired":true,"uniqueKey":"coupon.validFrom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.validFrom","typeLabel":"string\u003cdate-time> | null"},"validUntil":{"oneOf":[{"type":"string","format":"date-time","description":"The coupon stops working at this time, exclusive. `null`: no end.","isRequired":true,"uniqueKey":"coupon.validUntil.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The coupon stops working at this time, exclusive. `null`: no end.","isRequired":true,"uniqueKey":"coupon.validUntil.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.validUntil","typeLabel":"string\u003cdate-time> | null"},"maxRedemptions":{"oneOf":[{"type":"integer","minimum":1,"description":"Total uses. `null`: no limit.","isRequired":true,"uniqueKey":"coupon.maxRedemptions.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Total uses. `null`: no limit.","isRequired":true,"uniqueKey":"coupon.maxRedemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.maxRedemptions","typeLabel":"integer | null"},"maxRedemptionsPerBuyer":{"oneOf":[{"type":"integer","minimum":1,"description":"Uses per payer e-mail. `null`: no limit.","isRequired":true,"uniqueKey":"coupon.maxRedemptionsPerBuyer.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Uses per payer e-mail. `null`: no limit.","isRequired":true,"uniqueKey":"coupon.maxRedemptionsPerBuyer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"coupon.maxRedemptionsPerBuyer","typeLabel":"integer | null"},"productIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"coupon.productIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Products the discount covers. Empty: the whole order.","isRequired":true,"uniqueKey":"coupon.productIds","typeLabel":"string\u003cuuid>[]"},"active":{"type":"boolean","isRequired":true,"uniqueKey":"coupon.active","typeLabel":"boolean"},"redemptionCount":{"type":"integer","minimum":0,"description":"Uses taken: payments holding the coupon that are still open, plus the completed ones. A payment that expires or is cancelled gives its use back.","isRequired":true,"uniqueKey":"coupon.redemptionCount","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"coupon.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"coupon.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","code","type","percentBp","amount","validFrom","validUntil","maxRedemptions","maxRedemptionsPerBuyer","productIds","active","redemptionCount","createdAt","updatedAt"],"isRequired":true,"uniqueKey":"coupon","typeLabel":"object"}},"required":["coupon"],"uniqueKey":"","typeLabel":"object"},"example":{"coupon":{"id":"4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e","code":"BLACK10","type":"PERCENT","percentBp":1000,"amount":null,"validFrom":"2026-11-27T03:00:00.000Z","validUntil":"2026-12-01T03:00:00.000Z","maxRedemptions":500,"maxRedemptionsPerBuyer":1,"productIds":[],"active":true,"redemptionCount":0,"createdAt":"2026-10-31T18:00:00.000Z","updatedAt":"2026-10-31T18:00:00.000Z"}},"examples":{"Example":{"title":"Example","value":{"coupon":{"id":"4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e","code":"BLACK10","type":"PERCENT","percentBp":1000,"amount":null,"validFrom":"2026-11-27T03:00:00.000Z","validUntil":"2026-12-01T03:00:00.000Z","maxRedemptions":500,"maxRedemptionsPerBuyer":1,"productIds":[],"active":true,"redemptionCount":0,"createdAt":"2026-10-31T18:00:00.000Z","updatedAt":"2026-10-31T18:00:00.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"cabceb64-707f-46d6-9c39-34c1dae601b8":{"description":"Validation failed. Besides `VALIDATION_ERROR`: `COUPON_VALUE_INVALID`, `percentBp` and `amount` do not match `type`; `COUPON_WINDOW_INVALID`, `validUntil` is not after `validFrom`; `COUPON_PRODUCT_NOT_FOUND`, a `productIds` entry is not a product of your account in this environment.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context.","uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"couponValueInvalid":{"title":"couponValueInvalid","value":{"error":{"code":"COUPON_VALUE_INVALID","message":"Cupom percentual exige percentBp e não aceita amount."}}}},"exampleType":"examples"}},"exampleType":"examples"},"bd3b4fd0-5caa-4d7c-8075-05a393eb6ad2":{"description":"Missing or invalid authentication token.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context.","uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INVALID_API_KEY","message":"Invalid or revoked API key"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INVALID_API_KEY","message":"Invalid or revoked API key"}}}},"exampleType":"examples"}},"exampleType":"examples"},"46708c83-a34a-4a14-827e-7125435ac99d":{"description":"The API key is valid but does not have the required scope for this endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context.","uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INSUFFICIENT_SCOPE","message":"Required scope missing: balance:read"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INSUFFICIENT_SCOPE","message":"Required scope missing: balance:read"}}}},"exampleType":"examples"}},"exampleType":"examples"},"d80b5dfa-8e93-4abd-8c58-be24071d7fb0":{"description":"`COUPON_CODE_TAKEN`: another coupon of your account in this environment that is not deleted has this code. A reused `X-Idempotency-Key` returns the flat idempotency errors instead.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","description":"Additional error context.","uniqueKey":"error.details","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"COUPON_CODE_TAKEN","message":"Já existe um cupom com este código."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"COUPON_CODE_TAKEN","message":"Já existe um cupom com este código."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4ec66979-ddaa-4b09-ac62-37f6db20b6d4":{"bearerAuth":{"type":"http","scheme":"bearer","description":"YuvexPay API key. Include as `Authorization: Bearer ypk_\u003cenv>_\u003ckid>_\u003csecret>` where `\u003cenv>` is `test` (sandbox) or `live` (production). Create and manage keys in the dashboard under **Settings > API Keys**.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d18a7e01-88e0-4d32-9908-4c9c5a133e31":{"url":"https://api.yuvexpay.com","description":"Same base URL serves both sandbox and production. Send a `ypk_test_*` key for sandbox or a `ypk_live_*` key for production."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"YuvexPay API key. Include as `Authorization: Bearer ypk_\u003cenv>_\u003ckid>_\u003csecret>` where `\u003cenv>` is `test` (sandbox) or `live` (production). Create and manage keys in the dashboard under **Settings > API Keys**.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"YuvexPay API key. Include as `Authorization: Bearer ypk_\u003cenv>_\u003ckid>_\u003csecret>` where `\u003cenv>` is `test` (sandbox) or `live` (production). Create and manage keys in the dashboard under **Settings > API Keys**.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"yuvexpay","siteName":"YuvexPay","title":"Create a coupon - YuvexPay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T23:16:25.827Z","originalFileLocation":"api-reference/coupons/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.\">\u003cmeta data-mint-head name=\"application-name\" content=\"YuvexPay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a coupon - YuvexPay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"YuvexPay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yuvexpay.com/api-reference/coupons/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yuvexpay.mintlify.app/_mintlify/api/og/v2?division=Coupons\u0026amp;title=Create+a+coupon\u0026amp;description=Create+a+discount+coupon.+Requires+the+%60coupons%3Awrite%60+scope.+Apply+it+with+%60couponCode%60+on+%60POST+%2Fv1%2Fpayments%60%2C+or+let+the+payer+type+it+on+the+hosted+checkout\u0026amp;theme=e1bc7c37ec59feb92a55994b\u0026amp;signature=2aad57ebafcc39fc93660a8aa877a22e9e25ac5d283059c71b919f9da284570f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a coupon - YuvexPay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yuvexpay.mintlify.app/_mintlify/api/og/v2?division=Coupons\u0026amp;title=Create+a+coupon\u0026amp;description=Create+a+discount+coupon.+Requires+the+%60coupons%3Awrite%60+scope.+Apply+it+with+%60couponCode%60+on+%60POST+%2Fv1%2Fpayments%60%2C+or+let+the+payer+type+it+on+the+hosted+checkout\u0026amp;theme=e1bc7c37ec59feb92a55994b\u0026amp;signature=2aad57ebafcc39fc93660a8aa877a22e9e25ac5d283059c71b919f9da284570f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yuvexpay/qrsJ3VUJ-racyQUp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"YuvexPay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yuvexpay.com/api-reference/coupons/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/coupons/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yuvexpay.com/#organization\",\"name\":\"YuvexPay\",\"url\":\"https://docs.yuvexpay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yuvexpay/_p0fopc5ZJwqr6Ao/logo/light.png?fit=max\u0026auto=format\u0026n=_p0fopc5ZJwqr6Ao\u0026q=85\u0026s=85eb8014f41b3db8d62050d2ff2d17eb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yuvexpay.com#website\",\"name\":\"YuvexPay\",\"url\":\"https://docs.yuvexpay.com\",\"publisher\":{\"@id\":\"https://docs.yuvexpay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yuvexpay.com/api-reference/coupons/create#webpage\",\"url\":\"https://docs.yuvexpay.com/api-reference/coupons/create\",\"name\":\"Create a coupon\",\"description\":\"Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.\",\"dateModified\":\"2026-10-31T23:16:25.827Z\",\"isPartOf\":{\"@id\":\"https://docs.yuvexpay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yuvexpay.com/api-reference/coupons/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yuvexpay.com/api-reference/coupons/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"YuvexPay\",\"item\":\"https://docs.yuvexpay.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a coupon\",\"item\":\"https://docs.yuvexpay.com/api-reference/coupons/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yuvexpay.com/api-reference/coupons/create#apireference\",\"headline\":\"Create a coupon\",\"name\":\"Create a coupon\",\"description\":\"Create a discount coupon. Requires the coupons:write scope. Apply it with couponCode on POST /v1/payments, or let the payer type it on the hosted checkout. Coupons belong to the environment of the key: a ypk_test_ key manages sandbox coupons and a ypk_live_ key production coupons, and a payment uses only coupons of its own environment.\",\"url\":\"https://docs.yuvexpay.com/api-reference/coupons/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yuvexpay.com/api-reference/coupons/create#webpage\"},\"dateModified\":\"2026-10-31T23:16:25.827Z\",\"publisher\":{\"@id\":\"https://docs.yuvexpay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yuvexpay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"YuvexPay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"YuvexPay","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.yuvexpay.com"},{"anchor":"API status","icon":"signal","href":"https://status.yuvexpay.com"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Authentication","pages":[{"title":"Inspect the current API key","openapi":"GET /v1/auth/self","href":"/api-reference/auth/self"}]},{"group":"Payments","pages":[{"title":"Create a payment","openapi":"POST /v1/payments","href":"/api-reference/payments/create"},{"title":"List payments","openapi":"GET /v1/payments","href":"/api-reference/payments/list"},{"title":"Get a payment","openapi":"GET /v1/payments/{paymentId}","href":"/api-reference/payments/get"},{"title":"Get a payment by transaction ID","openapi":"GET /v1/payments/txid/{txId}","href":"/api-reference/payments/get-by-txid"},{"title":"Download boleto PDF","openapi":"GET /v1/payments/{paymentId}/boleto","href":"/api-reference/payments/get-boleto"},{"title":"Refund a payment","openapi":"POST /v1/payments/{paymentId}/refund","href":"/api-reference/payments/refund"},{"title":"List payment refunds","openapi":"GET /v1/payments/{paymentId}/refunds","href":"/api-reference/payments/list-refunds"},{"title":"Simulate a payment","openapi":"POST /v1/payments/{paymentId}/simulate","href":"/api-reference/payments/simulate"}]},{"group":"Withdrawals","pages":[{"title":"Create a withdrawal","openapi":"POST /v1/withdrawals","href":"/api-reference/withdrawals/create"},{"title":"List withdrawals","openapi":"GET /v1/withdrawals","href":"/api-reference/withdrawals/list"},{"title":"Get a withdrawal","openapi":"GET /v1/withdrawals/{withdrawalId}","href":"/api-reference/withdrawals/get"},{"title":"Get withdrawal limits","openapi":"GET /v1/withdrawals/limits","href":"/api-reference/withdrawals/limits"}]},{"group":"Balance","pages":[{"title":"Get account balance","openapi":"GET /v1/balance","href":"/api-reference/balance/get"}]},{"group":"Splits","pages":[{"title":"List split partners","openapi":"GET /v1/splits/partners","href":"/api-reference/splits/partners"}]},{"group":"Products","pages":[{"title":"Create a product","openapi":"POST /v1/products","href":"/api-reference/products/create"},{"title":"List products","openapi":"GET /v1/products","href":"/api-reference/products/list"},{"title":"Get a product","openapi":"GET /v1/products/{productId}","href":"/api-reference/products/get"},{"title":"Get a product by external ID","openapi":"GET /v1/products/external/{externalId}","href":"/api-reference/products/get-by-external-id"},{"title":"Update a product","openapi":"PATCH /v1/products/{productId}","href":"/api-reference/products/update"},{"title":"Delete a product","openapi":"DELETE /v1/products/{productId}","href":"/api-reference/products/delete"},{"title":"Upload product image","openapi":"POST /v1/products/{productId}/image","href":"/api-reference/products/upload-image"},{"title":"Delete product image","openapi":"DELETE /v1/products/{productId}/image","description":"Remove the image associated with a product.","href":"/api-reference/products/delete-image"}]},{"group":"Coupons","pages":[{"title":"Create a coupon","openapi":"POST /v1/coupons","href":"/api-reference/coupons/create"},{"title":"List coupons","openapi":"GET /v1/coupons","description":"List the coupons of your account that are not deleted, newest first. Requires the `coupons:read` scope. Coupons belong to the environment of the key: a `ypk_test_` key manages sandbox coupons and a `ypk_live_` key production coupons, and a payment uses only coupons of its own environment.","href":"/api-reference/coupons/list"},{"title":"Get a coupon","openapi":"GET /v1/coupons/{couponId}","href":"/api-reference/coupons/get"},{"title":"Update a coupon","openapi":"PATCH /v1/coupons/{couponId}","href":"/api-reference/coupons/update"},{"title":"Delete a coupon","openapi":"DELETE /v1/coupons/{couponId}","href":"/api-reference/coupons/delete"}]},{"group":"Customers","pages":[{"title":"Create a customer","openapi":"POST /v1/customers","href":"/api-reference/customers/create"},{"title":"List customers","openapi":"GET /v1/customers","href":"/api-reference/customers/list"},{"title":"Get a customer","openapi":"GET /v1/customers/{customerId}","href":"/api-reference/customers/get"},{"title":"Update a customer","openapi":"PATCH /v1/customers/{customerId}","href":"/api-reference/customers/update"},{"title":"Delete a customer","openapi":"DELETE /v1/customers/{customerId}","href":"/api-reference/customers/delete"}]},{"group":"Documents","pages":[{"title":"Get payment receipt","openapi":"GET /v1/documents/payments/{paymentId}/receipt","href":"/api-reference/documents/payment-receipt"},{"title":"Get withdrawal receipt","openapi":"GET /v1/documents/withdrawals/{withdrawalId}/receipt","href":"/api-reference/documents/withdrawal-receipt"},{"title":"Get account statement","openapi":"GET /v1/documents/statements","href":"/api-reference/documents/statement"}]},{"group":"Public","pages":[{"title":"Get standard pricing","openapi":"GET /public/pricing","href":"/api-reference/public/pricing"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create a coupon - YuvexPay","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}