Skip to content

Dime Partner API v1

:::warning Deprecation planned

v1 will be deprecated. It remains fully supported for now, but all new integrations should use the v2 API, and existing integrations should plan to migrate.

:::

The original Dime partner API.

v2 takes plain JSON instead of a signed payload, returns resources without a wrapper, and reports every failure in one consistent error shape. See Moving from v1 on the API reference home page for the differences.

Authentication

Two credentials work together:

  • Your client key goes in the client_key header and identifies you.
  • Your secret key signs the request parameters.

Sign the parameters as a JWT and send them as data:

{
  "lang": "en",
  "data": "<JWT signed with your secret key>"
}

Two endpoints are exceptions and take plain JSON: /donate-orders and /card-request/open-verify.

Responses

Every response is wrapped:

{
  "statusCode": 200,
  "headers": { "Access-Control-Allow-Origin": "*" },
  "body": {
    "message": "Successful created api order request",
    "response": { "order_url": "https://pay.dimepay.app/e-order/..." }
  }
}

statusCode repeats the HTTP status. The payload is under body.response.

Errors

A validation failure returns body.message as an array listing every rule that failed, not just the first.

A bad or missing signature returns 500, not 401. This is documented as the API behaves today.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.dimepay.net/_mock/apis/v1/dime-v1
https://sandbox.api.dimepay.app/dapi/v1