{
  "info": {
    "_postman_id": "613f563b-e579-5c53-9023-49c3133ba25a",
    "name": "Monato · Direct Debit",
    "description": "Direct Debit Service 0.1.0. Generated from `products/directdebit/openapi.json`.\n\nSelect the Monato Sandbox environment and fill in your credentials, then send any request.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "customers",
      "item": [
        {
          "name": "List Customers",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/customers",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "customers"
              ],
              "query": [
                {
                  "key": "skip",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Get all customers with pagination.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Create Customer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/customers",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "customers"
              ]
            },
            "description": "Create a new customer.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\",\n  \"document_type\": \"\",\n  \"document_number\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Get Customer",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/customers/:customer_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "customers",
                ":customer_id"
              ],
              "variable": [
                {
                  "key": "customer_id",
                  "value": ""
                }
              ]
            },
            "description": "Get a customer by ID.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Update Customer",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/customers/:customer_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "customers",
                ":customer_id"
              ],
              "variable": [
                {
                  "key": "customer_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an existing customer.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Delete Customer",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/customers/:customer_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "customers",
                ":customer_id"
              ],
              "variable": [
                {
                  "key": "customer_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete a customer by ID.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "instruments",
      "item": [
        {
          "name": "List Instruments",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/instruments",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "instruments"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "Maximum number of records to return",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Cursor for pagination (use next_cursor from previous response)",
                  "disabled": true
                }
              ]
            },
            "description": "List instruments with cursor-based pagination.\n\nPagination:\n- cursor: Opaque cursor from previous response\n- Use `next_cursor` from response for next page",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Create Instrument",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/instruments",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "instruments"
              ]
            },
            "description": "Create a new instrument.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"\",\n  \"customer_id\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Get Instrument",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/instruments/:instrument_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "instruments",
                ":instrument_id"
              ],
              "variable": [
                {
                  "key": "instrument_id",
                  "value": ""
                }
              ]
            },
            "description": "Get an instrument by ID.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Update Instrument",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/instruments/:instrument_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "instruments",
                ":instrument_id"
              ],
              "variable": [
                {
                  "key": "instrument_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an existing instrument.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Delete Instrument",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/instruments/:instrument_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "instruments",
                ":instrument_id"
              ],
              "variable": [
                {
                  "key": "instrument_id",
                  "value": ""
                }
              ]
            },
            "description": "Delete an instrument by ID.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "charges",
      "item": [
        {
          "name": "List Charges",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/charges",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "charges"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "Maximum number of records to return",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Cursor for pagination (use next_cursor from previous response)",
                  "disabled": true
                },
                {
                  "key": "customer_id",
                  "value": "",
                  "description": "Filter by customer ID",
                  "disabled": true
                },
                {
                  "key": "instrument_id",
                  "value": "",
                  "description": "Filter by instrument ID",
                  "disabled": true
                },
                {
                  "key": "reference",
                  "value": "",
                  "description": "Filter by reference",
                  "disabled": true
                },
                {
                  "key": "created_at_from",
                  "value": "",
                  "description": "Filter charges created on or after this date",
                  "disabled": true
                },
                {
                  "key": "created_at_to",
                  "value": "",
                  "description": "Filter charges created on or before this date",
                  "disabled": true
                },
                {
                  "key": "result_at_from",
                  "value": "",
                  "description": "Filter charges with result on or after this date",
                  "disabled": true
                },
                {
                  "key": "result_at_to",
                  "value": "",
                  "description": "Filter charges with result on or before this date",
                  "disabled": true
                },
                {
                  "key": "instrument_identifier",
                  "value": "",
                  "description": "Filter by instrument identifier (searches both inline and linked instruments)",
                  "disabled": true
                }
              ]
            },
            "description": "List charges with cursor-based pagination.\n\nFilters:\n- customer_id: Filter by customer UUID\n- instrument_id: Filter by instrument UUID\n- reference: Filter by exact reference match\n- created_at_from: Filter charges created on or after this date\n- created_at_to: Filter charges created on or before this date\n- result_at_from: Filter charges with result on or after this date\n- result_at_to: Filter charges with result on or before this date\n- instrument_identifier: Filter by instrument identifier (inline or linked)\n\nPagination:\n- cursor: Opaque cursor from previous response\n- Use `next_cursor` from response for next page",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Create Charge",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Idempotency-Key",
                "value": "",
                "description": "Optional UUID for safely retrying charge creation. Reusing the same key with an identical request body returns the original charge instead of creating a duplicate. Keys are scoped to your organization and expire 24 hours after the request.",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/charges",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "charges"
              ]
            },
            "description": "Create a new charge.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"currency\": \"\",\n  \"amount\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Get Charge",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/charges/:charge_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "charges",
                ":charge_id"
              ],
              "variable": [
                {
                  "key": "charge_id",
                  "value": ""
                }
              ]
            },
            "description": "Get a charge by ID.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Update Charge",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-API-Key",
                "value": "{{directDebitApiKey}}",
                "disabled": false
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{directDebitBaseUrl}}/charges/:charge_id",
              "host": [
                "{{directDebitBaseUrl}}"
              ],
              "path": [
                "charges",
                ":charge_id"
              ],
              "variable": [
                {
                  "key": "charge_id",
                  "value": ""
                }
              ]
            },
            "description": "Update an existing charge.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        }
      ]
    }
  ]
}
