Analyze my Employment Agreement
Analyze my Employment Agreement · Actions GPT
Order Verification API
API to verify order details based on order ID.
GET /verify-order/{id}Verify an order by ID
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Order Verification API",
"description": "API to verify order details based on order ID.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://razorpay-backend-33fwfket3q-el.a.run.app/",
"description": "Development server"
}
],
"paths": {
"/verify-order/{id}": {
"get": {
"operationId": "verifyOrder",
"summary": "Verify an order by ID",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "The ID of the order to verify",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Order is valid and active",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": true
},
"message": {
"type": "string",
"example": "Order is valid and active."
},
"orderDetails": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"otherProperty": {
"type": "string"
}
}
}
}
}
}
}
},
"404": {
"description": "Order not found",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Order not found."
}
}
}
}
}
},
"410": {
"description": "Order has expired",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Order has expired."
}
}
}
}
}
},
"500": {
"description": "Internal Server Error or Order details file does not exist",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "Internal Server Error"
}
}
}
}
}
}
}
}
}
}
}