{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-apis/v1/dime-v1.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"apis/v1/dime-v1.yaml","settings":{"baseUrlPath":"/apis/v1/dime-v1"},"disableAutoScroll":true,"seo":{"title":"Dime Partner API v1","projectTitle":"Dime Pay","description":"Take payments. Keep moving. Grow your way. Handle checkout, billing and customer tools through APIs and SDKs for web and mobile.","siteUrl":"https://docs.dimepay.net","lang":"en","image":"/assets/social-preview.e5e29a3cef4e7839dd6b2de430d8900478d7b15c045209b2566fd49d578aef10.db81178d.png","keywords":"Dime Pay, Dime API, payments API, Jamaica payments, Caribbean payments, card payments, subscriptions, invoices"},"dynamicMarkdocComponents":[],"metadata":{"type":"openapi","title":"Dime Partner API v1","version":"","description":":::warning Deprecation planned\n\n**v1 will be deprecated.** It remains fully supported for now, but all new\nintegrations should use [the v2 API](../v2/dime-v2.yaml), and existing\nintegrations should plan to migrate.\n\n:::\n\nThe original Dime partner API.\n\nv2 takes plain JSON instead of a signed payload, returns resources without\na wrapper, and reports every failure in one consistent error shape. See\n**Moving from v1** on the API reference home page for the differences.\n\n## Authentication\n\nTwo credentials work together:\n\n- Your **client key** goes in the `client_key` header and identifies you.\n- Your **secret key** signs the request parameters.\n\nSign the parameters as a JWT and send them as `data`:\n\n```json\n{\n  \"lang\": \"en\",\n  \"data\": \"<JWT signed with your secret key>\"\n}\n```\n\nTwo endpoints are exceptions and take plain JSON: `/donate-orders` and\n`/card-request/open-verify`.\n\n## Responses\n\nEvery response is wrapped:\n\n```json\n{\n  \"statusCode\": 200,\n  \"headers\": { \"Access-Control-Allow-Origin\": \"*\" },\n  \"body\": {\n    \"message\": \"Successful created api order request\",\n    \"response\": { \"order_url\": \"https://pay.dimepay.app/e-order/...\" }\n  }\n}\n```\n\n`statusCode` repeats the HTTP status. The payload is under `body.response`.\n\n## Errors\n\nA validation failure returns `body.message` as an **array** listing every\nrule that failed, not just the first.\n\nA bad or missing signature returns **500**, not 401. This is documented as\nthe API behaves today.\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.dimepay.net","port":4000,"ipAddress":"216.73.216.223"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/apis/v1/dime-v1","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}