Skip to content

Invoices

Bill a customer.

Operations

Create an invoice

Request

The customer must already exist under your merchant, and any product referenced must be in your own catalog.

Security
ClientKey
Bodyapplication/jsonrequired
datastringrequired

A JWT signed with your secret key, holding the parameters.

Example:"example"
langstring
Default:"en"
Example:"example"
curl -i -X POST \
  https://docs.dimepay.net/_mock/apis/v1/dime-v1/invoices \
  -H 'Content-Type: application/json' \
  -H 'client_key: YOUR_API_KEY_HERE' \
  -d '{
    "data": "example",
    "lang": "example"
  }'

Responses

The invoice was created.

Bodyapplication/json
statusCodeintegerrequired

Repeats the HTTP status code.

Example:200
headersobject
bodyobjectrequired
Response
{ "statusCode": 200, "headers": {}, "body": { "message": "string", "response": null } }