{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-apis/v2/orders.yaml","sidebar":"sidebar-sidebar.yaml__apis_v2_orders"},"props":{"definitionId":"apis/v2/orders.yaml","settings":{"baseUrlPath":"/apis/v2/orders"},"disableAutoScroll":true,"seo":{"title":"Dime Partner API v2 — Orders","projectTitle":"Dime Docs","description":"Take payments, bill customers, and onboard sub-merchants with the Dime Partner API.","siteUrl":"https://docs.dimepay.net","lang":"en"},"dynamicMarkdocComponents":[],"metadata":{"type":"openapi","title":"Dime Partner API v2 — Orders","version":"2.0.0","description":"Orders represent a payment a merchant is collecting. Creating one returns\na `token`; the customer pays at `https://pay.dimepay.app/e-order/{token}`\n(sandbox: `https://pay.sandbox.dimepay.app/e-order/{token}`).\n\n## Authentication\n\nEvery request carries your client key in the `client_key` header. Unlike\nv1, request bodies are plain JSON — there is no JWT signing and no `data`\nenvelope.\n\n## Responses\n\nResources are returned at the top level, with no wrapper. Errors return a\nsingle `error` object using one of four types: `invalid_request_error`,\n`card_error`, `idempotency_error`, `api_error`.\n\n## Webhooks\n\nEvents for orders are delivered to the endpoints you register with\n`POST /webhook-endpoints`. See **Webhooks** in the introduction of the\ncombined reference.\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.dimepay.net","port":4000,"ipAddress":"216.73.216.232"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/apis/v2/orders","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}