---
updatedAt: 2025-05-28T00:19:37.000Z
agentTools:
  projectIndex: https://coinify.readme.io/llms.txt
---

# Complete PaymentIntent

This endpoint simulates completing a payment to an existing PaymentIntent.

A valid PaymentIntent ID needs to be provided in the **\{id}** parameter in order to make a successful request. You can then confirm the change in the state of the PaymentIntent by calling the [Read PaymentIntent](https://coinify.readme.io/reference/read-payment-intent) endpoint and via the callback event that is sent to your webhook URL.

> 🚧 SANDBOX ONLY

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "payment-intent",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.payment.sandbox.coinify.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/payment-intents/{id}/test/complete": {
      "post": {
        "summary": "Complete PaymentIntent",
        "description": "",
        "operationId": "complete-paymentintent-test-only",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The PaymentIntent ID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```