---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Authorize order fulfill (Vtex)

Authorize an order for fulfillment in the Vtex store. This is required before creating a fulfillment.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Vtex"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/payments/authorize": {
      "post": {
        "summary": "Authorize order fulfill (Vtex)",
        "description": "Authorize an order for fulfillment in the Vtex store. This is required before creating a fulfillment.",
        "operationId": "create_payments_authorize_vtex",
        "responses": {
          "200": {
            "description": "Order authorized successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "payment": {
                    "type": "object",
                    "properties": {
                      "orderId": {
                        "type": "string",
                        "example": "0369d126-8694-4ead-9ced-c69c7a52cec1-889887"
                      },
                      "affiliateId": {
                        "type": "string",
                        "example": "0369d126-8694-4ead-9ced-c69c7a52cec1"
                      }
                    }
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "payment": {
                      "orderId": "0369d126-8694-4ead-9ced-c69c7a52cec1-889887",
                      "affiliateId": "0369d126-8694-4ead-9ced-c69c7a52cec1"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```