---
updatedAt: 2026-10-07T14:26:35.000Z
agentTools:
  projectIndex: https://sticky.readme.io/llms.txt
---

# Complete Session

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Sticky Recovery Production and Sandbox",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.sticky.io",
      "description": "Production"
    },
    {
      "url": "https://sandbox-api.sticky.io",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key",
        "description": "API key used to authenticate requests."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/dunning-hub/v2/api/complete-session": {
      "post": {
        "description": "",
        "operationId": "post_dunning-hubv1complete-session",
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Bad Request",
            "content": {}
          }
        },
        "parameters": [
          {
            "in": "header",
            "name": "API-Key",
            "schema": {
              "type": "string"
            },
            "description": "API key used for authentication and authorization of API requests.",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sessionId": {
                    "type": "string",
                    "description": "A unique identifier specific to the dunning session. Automatically generated if not provided. This should be submitted in the request to obtain subsequent retry attempts. It informs the system what retry attempt number the dunning session is on."
                  },
                  "status": {
                    "type": "string",
                    "description": "The status of the transactions, valid options are APPROVED, DECLINED, CANCELED, DEFERRED and, RESOLVED."
                  },
                  "bin": {
                    "type": "string",
                    "description": "The Payment Account Number (PAN) or Bank Identification Number (BIN) is linked to the payment method and should consist of a minimum of 6 digits when utilized."
                  },
                  "paymentProvider": {
                    "type": "string",
                    "description": "The selected payment provider or gateway used for the payment transaction."
                  },
                  "amount": {
                    "type": "number",
                    "description": "Actual value of the payment that is being processed.",
                    "format": "float"
                  }
                },
                "required": [
                  "sessionId",
                  "status"
                ]
              }
            }
          }
        },
        "summary": "Complete Session"
      }
    }
  }
}
```