---
updatedAt: 2025-09-22T23:13:15.000Z
agentTools:
  projectIndex: https://developers.conekta.com/v2.1.0/llms.txt
---

# Get Order

Info for a specific order

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "contact": {
      "email": "engineering@conekta.com",
      "name": "Engineering Conekta",
      "url": "https://github.com/conekta/openapi/issues"
    },
    "description": "Conekta sdk",
    "license": {
      "name": "MIT-LICENSE",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Conekta API",
    "version": "2.1.0"
  },
  "servers": [
    {
      "description": "Conekta main server",
      "url": "https://api.conekta.io"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/orders/{id}": {
      "get": {
        "description": "Info for a specific order",
        "operationId": "getOrderById",
        "parameters": [
          {
            "description": "Identifier of the resource",
            "example": "6307a60c41de27127515a575",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Use for knowing which language to use",
            "examples": {
              "es": {
                "summary": "for spanish request/response",
                "value": "es"
              },
              "en": {
                "summary": "for english request/response",
                "value": "en"
              }
            },
            "in": "header",
            "name": "Accept-Language",
            "required": false,
            "schema": {
              "default": "es",
              "enum": [
                "es",
                "en"
              ],
              "type": "string"
            }
          },
          {
            "description": "In the case of a holding company, the company id of the child company to which will process the request.",
            "example": "6441b6376b60c3a638da80af",
            "in": "header",
            "name": "X-Child-Company-Id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.conekta-v2.1.0+json": {
                "schema": {
                  "$ref": "#/components/schemas/order_response"
                }
              }
            },
            "description": "successful"
          },
          "401": {
            "content": {
              "application/vnd.conekta-v2.1.0+json": {
                "example": {
                  "details": [
                    {
                      "message": "Please include your access key in your request.",
                      "param": null,
                      "code": "conekta.errors.authentication.missing_key"
                    }
                  ],
                  "log_id": "507f1f77bcf86cd799439011",
                  "object": "error",
                  "type": "authentication_error"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "authentication error"
          },
          "404": {
            "content": {
              "application/vnd.conekta-v2.1.0+json": {
                "example": {
                  "details": [
                    {
                      "message": "The resource was not found.",
                      "param": null,
                      "code": "conekta.errors.resource_not_found.entity",
                      "debug_message": "The object Webhook \"641b1d5662d7e00001eaa46b\" could not be found."
                    }
                  ],
                  "log_id": "641b6c253cd9a50001514fae",
                  "object": "error",
                  "type": "resource_not_found_error"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "not found entity"
          },
          "500": {
            "content": {
              "application/vnd.conekta-v2.1.0+json": {
                "example": {
                  "details": [
                    {
                      "debug_message": "There was a runtime error and Conekta engineers have been notified.",
                      "message": "There was a runtime error and Conekta engineers have been notified.",
                      "param": null,
                      "code": "conekta.errors.api.system.general_failure"
                    }
                  ],
                  "object": "error",
                  "type": "api_error",
                  "log_id": "641b6f2b3cd9a50001515098"
                },
                "schema": {
                  "$ref": "#/components/schemas/error"
                }
              }
            },
            "description": "internal server error"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get Order",
        "tags": [
          "Orders"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "error": {
        "allOf": [
          {
            "$ref": "#/components/schemas/details"
          },
          {
            "properties": {
              "log_id": {
                "description": "log id",
                "example": "507f1f77bcf86cd799439011",
                "nullable": true,
                "type": "string"
              },
              "type": {
                "example": "authentication_error",
                "type": "string"
              },
              "object": {
                "example": "error",
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "description": "err model",
        "title": "error"
      },
      "page": {
        "description": "page metadata",
        "properties": {
          "next_page_url": {
            "description": "URL of the next page.",
            "example": "https://api.conekta.io/resources?limit=10&next=chrg_1",
            "nullable": true,
            "type": "string"
          },
          "previous_page_url": {
            "description": "Url of the previous page.",
            "example": "https://api.conekta.io/resources?limit=10&previous=chrg_1",
            "nullable": true,
            "type": "string"
          }
        },
        "title": "page metadata",
        "type": "object"
      },
      "pagination": {
        "description": "pagination metadata",
        "properties": {
          "has_more": {
            "description": "Indicates if there are more pages to be requested",
            "example": false,
            "type": "boolean"
          },
          "object": {
            "description": "Object type, in this case is list",
            "example": "list",
            "type": "string"
          }
        },
        "required": [
          "has_more",
          "object"
        ],
        "title": "pagination metadata",
        "type": "object"
      },
      "charge_response": {
        "properties": {
          "amount": {
            "example": 4321,
            "type": "integer"
          },
          "channel": {
            "$ref": "#/components/schemas/charge_response_channel"
          },
          "created_at": {
            "example": 1676386026,
            "format": "int64",
            "type": "integer"
          },
          "currency": {
            "example": "MXN",
            "type": "string"
          },
          "customer_id": {
            "type": "string"
          },
          "description": {
            "example": "Payment from order",
            "type": "string"
          },
          "device_fingerprint": {
            "example": "6FR3chaU4Y1nGAW5NAGd1rcjAKa142Ba",
            "type": "string"
          },
          "failure_code": {
            "example": "suspected_fraud",
            "type": "string"
          },
          "failure_message": {
            "example": "Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.",
            "type": "string"
          },
          "id": {
            "description": "Charge ID",
            "example": "63efa757cf65380001aec040",
            "type": "string"
          },
          "livemode": {
            "description": "Whether the charge was made in live mode or not",
            "example": false,
            "type": "boolean"
          },
          "object": {
            "example": "charge",
            "type": "string"
          },
          "order_id": {
            "description": "Order ID",
            "example": "ord_2tN73UdUSNrYRPD9r",
            "type": "string"
          },
          "paid_at": {
            "description": "Payment date",
            "example": 1676390742,
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "payment_method": {
            "$ref": "#/components/schemas/charge_response_payment_method"
          },
          "reference_id": {
            "description": "Reference ID of the charge",
            "example": "ref_2tN73UdUSNrYRPD9r",
            "nullable": true,
            "type": "string"
          },
          "refunds": {
            "$ref": "#/components/schemas/charge_response_refunds"
          },
          "status": {
            "description": "Charge status",
            "example": "pending_payment",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "created_at",
          "currency",
          "id",
          "livemode",
          "object",
          "order_id",
          "status"
        ],
        "title": "charges_data_response",
        "type": "object"
      },
      "discount_lines_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/order_discount_lines_request"
          },
          {
            "properties": {
              "id": {
                "description": "The discount line id",
                "example": "dis_lin_2tQQ58HPgPw7StE8z",
                "type": "string"
              },
              "object": {
                "description": "The object name",
                "example": "discount_line",
                "type": "string"
              },
              "parent_id": {
                "description": "The order id",
                "example": "ord_2tPAmKCEJqh8RE6nY",
                "type": "string"
              }
            },
            "required": [
              "id",
              "object",
              "parent_id"
            ],
            "type": "object"
          }
        ],
        "title": "discount_lines_order_response"
      },
      "order_response": {
        "description": "order response",
        "properties": {
          "amount": {
            "description": "The total amount to be collected in cents",
            "example": 21605,
            "type": "integer"
          },
          "amount_refunded": {
            "description": "The total amount refunded in cents",
            "example": 0,
            "type": "integer"
          },
          "channel": {
            "$ref": "#/components/schemas/order_channel_response"
          },
          "charges": {
            "$ref": "#/components/schemas/order_charges_response"
          },
          "checkout": {
            "$ref": "#/components/schemas/order_response_checkout"
          },
          "created_at": {
            "description": "The time at which the object was created in seconds since the Unix epoch",
            "example": 1676328434,
            "format": "int64",
            "type": "integer"
          },
          "currency": {
            "description": "The three-letter ISO 4217 currency code. The currency of the order.",
            "example": "MXN",
            "type": "string"
          },
          "customer_info": {
            "$ref": "#/components/schemas/order_response_customer_info"
          },
          "discount_lines": {
            "$ref": "#/components/schemas/order_discount_lines_response"
          },
          "fiscal_entity": {
            "$ref": "#/components/schemas/order_fiscal_entity_response"
          },
          "id": {
            "example": "ord_2tMtQQpDvfnNjiuFG",
            "type": "string"
          },
          "is_refundable": {
            "example": false,
            "type": "boolean"
          },
          "line_items": {
            "$ref": "#/components/schemas/order_response_products"
          },
          "livemode": {
            "description": "Whether the object exists in live mode or test mode",
            "example": false,
            "type": "boolean"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
            "maxProperties": 100,
            "type": "object"
          },
          "next_action": {
            "$ref": "#/components/schemas/order_next_action_response"
          },
          "object": {
            "description": "String representing the object’s type. Objects of the same type share the same value.",
            "example": "order",
            "type": "string"
          },
          "payment_status": {
            "description": "The payment status of the order.",
            "example": "paid",
            "type": "string"
          },
          "processing_mode": {
            "description": "Indicates the processing mode for the order, either ecommerce, recurrent or validation.",
            "example": "ecommerce",
            "type": "string"
          },
          "shipping_contact": {
            "$ref": "#/components/schemas/order_response_shipping_contact"
          },
          "updated_at": {
            "description": "The time at which the object was last updated in seconds since the Unix epoch",
            "example": 1676328434,
            "format": "int64",
            "type": "integer"
          }
        },
        "title": "order_response",
        "type": "object"
      },
      "customer_shipping_contacts_response": {
        "description": "Contains the detail of the shipping addresses that the client has active or has used in Conekta",
        "properties": {
          "phone": {
            "example": "+525511223344",
            "type": "string"
          },
          "receiver": {
            "example": "Marvin Fuller",
            "type": "string"
          },
          "between_streets": {
            "example": "Ackerman Crescent",
            "nullable": true,
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/customer_shipping_contacts_response_address"
          },
          "parent_id": {
            "type": "string"
          },
          "default": {
            "example": false,
            "type": "boolean"
          },
          "id": {
            "example": "adr_1234567890",
            "type": "string"
          },
          "created_at": {
            "example": 1675715413,
            "format": "int64",
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Metadata associated with the shipping contact",
            "maxProperties": 100,
            "type": "object"
          },
          "object": {
            "example": "shipping_contact",
            "type": "string"
          },
          "deleted": {
            "example": false,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "order_discount_lines_request": {
        "description": "List of discounts that apply to the order.",
        "properties": {
          "amount": {
            "description": "The amount to be deducted from the total sum of all payments, in cents.",
            "example": 500,
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "code": {
            "description": "Discount code.",
            "example": "123",
            "type": "string"
          },
          "type": {
            "description": "It can be 'loyalty', 'campaign', 'coupon' o 'sign'",
            "example": "loyalty",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "code",
          "type"
        ],
        "title": "order_discount_lines_request",
        "type": "object"
      },
      "product": {
        "properties": {
          "antifraud_info": {
            "additionalProperties": true,
            "example": {
              "key": "value"
            },
            "type": "object"
          },
          "brand": {
            "description": "The brand of the item.",
            "example": "Cohiba",
            "type": "string"
          },
          "description": {
            "description": "Short description of the item",
            "example": "Imported From Mex.",
            "maxLength": 250,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "default": {},
            "description": "It is a key/value hash that can hold custom fields. Maximum 100 elements and allows special characters.",
            "example": {
              "key": "value"
            },
            "maxProperties": 100,
            "type": "object"
          },
          "name": {
            "description": "The name of the item. It will be displayed in the order.",
            "example": "Box of Cohiba S1s",
            "type": "string"
          },
          "quantity": {
            "description": "The quantity of the item in the order.",
            "example": 1,
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "sku": {
            "description": "The stock keeping unit for the item. It is used to identify the item in the order.",
            "example": "XYZ12345",
            "type": "string"
          },
          "tags": {
            "description": "List of tags for the item. It is used to identify the item in the order.",
            "example": [
              "food",
              "mexican food"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "unit_price": {
            "description": "The price of the item in cents.",
            "example": 20000,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "quantity",
          "unit_price"
        ],
        "title": "product",
        "type": "object"
      },
      "details": {
        "properties": {
          "details": {
            "items": {
              "$ref": "#/components/schemas/details_error"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "payment_method_cash": {
        "allOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          },
          {
            "description": "use for cash responses",
            "properties": {
              "agreement": {
                "description": "Agreement ID",
                "example": "agreement_2tN73UdUSNrYRPD9r",
                "type": "string"
              },
              "auth_code": {
                "example": 542563,
                "nullable": true,
                "type": "integer"
              },
              "cashier_id": {
                "example": "OINM01010",
                "nullable": true,
                "type": "string"
              },
              "reference": {
                "example": "93000262276908",
                "type": "string"
              },
              "barcode_url": {
                "example": "https://barcodes.conekta.com/644ebf80f2243197aad6cd8810375b905b613dbe.png",
                "type": "string"
              },
              "expires_at": {
                "example": 0,
                "format": "int64",
                "type": "integer"
              },
              "product_type": {
                "description": "Product type, e.g. bbva_cash_in, cash_in, pespay_cash_in, etc.",
                "example": "bbva_cash_in",
                "type": "string"
              },
              "service_name": {
                "example": "store",
                "type": "string"
              },
              "store": {
                "example": "10MON50EDI",
                "nullable": true,
                "type": "string"
              },
              "store_name": {
                "example": "wallmart",
                "type": "string"
              },
              "customer_ip_address": {
                "example": "0.0.0.0",
                "type": "string"
              }
            },
            "title": "charge_data_payment_method_cash_response",
            "type": "object"
          }
        ]
      },
      "payment_method_card": {
        "allOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          },
          {
            "description": "use for card responses",
            "properties": {
              "account_type": {
                "description": "Account type of the card",
                "example": "Credit",
                "type": "string"
              },
              "auth_code": {
                "example": "867372",
                "type": "string"
              },
              "brand": {
                "description": "Brand of the card",
                "example": "visa",
                "type": "string"
              },
              "contract_id": {
                "description": "Id sent for recurrent charges.",
                "example": "S781317595",
                "type": "string"
              },
              "country": {
                "description": "Country of the card",
                "example": "MX",
                "type": "string"
              },
              "exp_month": {
                "description": "Expiration month of the card",
                "example": "02",
                "type": "string"
              },
              "exp_year": {
                "description": "Expiration year of the card",
                "example": "2026",
                "type": "string"
              },
              "fraud_indicators": {
                "items": {},
                "type": "array"
              },
              "issuer": {
                "description": "Issuer of the card",
                "example": "BANAMEX",
                "type": "string"
              },
              "last4": {
                "description": "Last 4 digits of the card",
                "example": "4242",
                "type": "string"
              },
              "name": {
                "description": "Name of the cardholder",
                "example": "Fulanito Perez",
                "type": "string"
              },
              "customer_ip_address": {
                "description": "Optional field used to capture the customer's IP address for fraud prevention and security monitoring purposes",
                "example": "0.0.0.0",
                "type": "string"
              }
            },
            "title": "charge_data_payment_method_card_response",
            "type": "object"
          }
        ]
      },
      "payment_method_bank_transfer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          },
          {
            "description": "use for bank transfer responses",
            "properties": {
              "bank": {
                "example": "STP",
                "type": "string"
              },
              "clabe": {
                "example": "646180111805034237",
                "type": "string"
              },
              "description": {
                "nullable": true,
                "type": "string"
              },
              "executed_at": {
                "nullable": true,
                "type": "string"
              },
              "expires_at": {
                "example": 1683053729,
                "format": "int64",
                "type": "integer"
              },
              "issuing_account_bank": {
                "nullable": true,
                "type": "string"
              },
              "issuing_account_number": {
                "nullable": true,
                "type": "string"
              },
              "issuing_account_holder_name": {
                "nullable": true,
                "type": "string"
              },
              "issuing_account_tax_id": {
                "nullable": true,
                "type": "string"
              },
              "payment_attempts": {
                "items": {},
                "type": "array"
              },
              "receiving_account_holder_name": {
                "nullable": true,
                "type": "string"
              },
              "receiving_account_number": {
                "example": "646180111805034237",
                "type": "string"
              },
              "receiving_account_bank": {
                "example": "STP",
                "type": "string"
              },
              "receiving_account_tax_id": {
                "nullable": true,
                "type": "string"
              },
              "reference_number": {
                "nullable": true,
                "type": "string"
              },
              "tracking_code": {
                "nullable": true,
                "type": "string"
              },
              "customer_ip_address": {
                "example": "0.0.0.0",
                "type": "string"
              }
            },
            "title": "charge_data_payment_method_bank_transfer_response",
            "type": "object"
          }
        ]
      },
      "payment_method_bnpl_payment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/payment_method"
          },
          {
            "description": "use for bnpl payment responses",
            "properties": {
              "cancel_url": {
                "description": "URL to redirect the customer after a canceled payment",
                "example": "https://example.com/cancel",
                "type": "string"
              },
              "expires_at": {
                "description": "Expiration date of the charge",
                "example": 1683053729,
                "format": "int64",
                "type": "integer"
              },
              "failure_url": {
                "description": "URL to redirect the customer after a failed payment",
                "example": "https://example.com/failure",
                "type": "string"
              },
              "product_type": {
                "description": "Product type of the charge",
                "type": "string"
              },
              "redirect_url": {
                "description": "URL to redirect the customer to complete the payment",
                "example": "https://example.com/redirect",
                "type": "string"
              },
              "success_url": {
                "description": "URL to redirect the customer after a successful payment",
                "example": "https://example.com/success",
                "type": "string"
              }
            },
            "required": [
              "expires_at",
              "product_type"
            ],
            "title": "charge_data_payment_method_bnpl_payment_response",
            "type": "object"
          }
        ]
      },
      "order_customer_info_response": {
        "properties": {
          "customer_custom_reference": {
            "description": "Custom reference",
            "example": "custom_reference",
            "nullable": true,
            "type": "string"
          },
          "name": {
            "example": "DevTest",
            "type": "string"
          },
          "email": {
            "example": "test@conekta.com",
            "format": "email",
            "type": "string"
          },
          "phone": {
            "example": "5522997233",
            "type": "string"
          },
          "corporate": {
            "default": false,
            "type": "boolean"
          },
          "object": {
            "example": "customer_info",
            "type": "string"
          }
        },
        "title": "order_customer_info_response",
        "type": "object"
      },
      "customer_info_just_customer_id_response": {
        "properties": {
          "customer_id": {
            "example": "cus_23874283647",
            "type": "string"
          }
        },
        "title": "customer_info_response",
        "type": "object"
      },
      "fiscal_entity_address": {
        "description": "Address of the fiscal entity",
        "properties": {
          "street1": {
            "description": "Street name and number",
            "example": "Nuevo Leon 254",
            "type": "string"
          },
          "street2": {
            "description": "Street name and number",
            "example": "Departamento 404",
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "description": "Postal code",
            "example": "06100",
            "type": "string"
          },
          "city": {
            "description": "City",
            "example": "Ciudad de Mexico",
            "type": "string"
          },
          "state": {
            "description": "State",
            "example": "Ciudad de Mexico",
            "type": "string"
          },
          "country": {
            "description": "this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)",
            "example": "MX",
            "type": "string"
          },
          "external_number": {
            "description": "External number",
            "example": "123",
            "type": "string"
          }
        },
        "required": [
          "city",
          "country",
          "external_number",
          "postal_code",
          "street1"
        ],
        "title": "order_fiscal_entity_address_request",
        "type": "object"
      },
      "payment_method": {
        "properties": {
          "type": {
            "type": "string"
          },
          "object": {
            "example": "payment_source",
            "type": "string"
          }
        },
        "required": [
          "object"
        ],
        "type": "object"
      },
      "charge_response_channel": {
        "properties": {
          "segment": {
            "example": "Checkout",
            "type": "string"
          },
          "checkout_request_id": {
            "example": "6fca054a-8519-4c43-971e-cea35cc519bb",
            "type": "string"
          },
          "checkout_request_type": {
            "example": "HostedPayment",
            "type": "string"
          },
          "id": {
            "example": "channel_2tNDzhA4Akmzj11AU",
            "type": "string"
          }
        },
        "type": "object"
      },
      "charge_response_payment_method": {
        "discriminator": {
          "mapping": {
            "cash_payment": "payment_method_cash",
            "card_payment": "payment_method_card",
            "bank_transfer_payment": "payment_method_bank_transfer",
            "bnpl_payment": "payment_method_bnpl_payment"
          },
          "propertyName": "object"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/payment_method_cash"
          },
          {
            "$ref": "#/components/schemas/payment_method_card"
          },
          {
            "$ref": "#/components/schemas/payment_method_bank_transfer"
          },
          {
            "$ref": "#/components/schemas/payment_method_bnpl_payment"
          }
        ],
        "title": "charge_response_payment_method"
      },
      "charge_response_refunds_data": {
        "properties": {
          "amount": {
            "example": -15000,
            "format": "int64",
            "type": "integer"
          },
          "auth_code": {
            "example": "867372",
            "type": "string"
          },
          "created_at": {
            "example": 1678226878,
            "format": "int64",
            "type": "integer"
          },
          "expires_at": {
            "description": "refund expiration date",
            "example": 1678226878,
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "example": "6407b5bee1329a000175ba11",
            "type": "string"
          },
          "object": {
            "example": "refund",
            "type": "string"
          },
          "status": {
            "description": "refund status",
            "example": "pending",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "created_at",
          "id",
          "object"
        ],
        "title": "charge_response_refunds_data",
        "type": "object"
      },
      "charge_response_refunds": {
        "allOf": [
          {
            "$ref": "#/components/schemas/pagination"
          },
          {
            "$ref": "#/components/schemas/page"
          },
          {
            "properties": {
              "data": {
                "description": "refunds",
                "items": {
                  "$ref": "#/components/schemas/charge_response_refunds_data"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "nullable": true,
        "title": "charge_response_refunds",
        "type": "object"
      },
      "order_channel_response": {
        "properties": {
          "segment": {
            "example": "Checkout",
            "type": "string"
          },
          "checkout_request_id": {
            "example": "6fca054a-8519-4c43-971e-cea35cc519bb",
            "type": "string"
          },
          "checkout_request_type": {
            "example": "HostedPayment",
            "type": "string"
          },
          "id": {
            "example": "channel_2tNDzhA4Akmzj11AU",
            "type": "string"
          }
        },
        "title": "order_channel_response",
        "type": "object"
      },
      "order_charges_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/pagination"
          },
          {
            "properties": {
              "data": {
                "items": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/charge_response"
                    }
                  ],
                  "title": "charges_data_response"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "description": "The charges associated with the order",
        "title": "order_charges_response"
      },
      "order_response_checkout": {
        "properties": {
          "allowed_payment_methods": {
            "description": "Are the payment methods available for this link",
            "example": [
              "cash",
              "card",
              "bank_transfer",
              "bnpl"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "can_not_expire": {
            "example": false,
            "type": "boolean"
          },
          "emails_sent": {
            "example": 0,
            "type": "integer"
          },
          "exclude_card_networks": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "expires_at": {
            "example": 1676613599,
            "format": "int64",
            "type": "integer"
          },
          "failure_url": {
            "example": "http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx",
            "type": "string"
          },
          "force_3ds_flow": {
            "example": false,
            "type": "boolean"
          },
          "id": {
            "example": "6fca054a-8519-4c43-971e-cea35cc519bb",
            "type": "string"
          },
          "is_redirect_on_failure": {
            "example": false,
            "type": "boolean"
          },
          "livemode": {
            "example": false,
            "type": "boolean"
          },
          "max_failed_retries": {
            "description": "Number of retries allowed before the checkout is marked as failed",
            "example": 3,
            "format": "int8",
            "nullable": true,
            "type": "integer"
          },
          "metadata": {
            "additionalProperties": true,
            "maxProperties": 100,
            "type": "object"
          },
          "monthly_installments_enabled": {
            "example": false,
            "type": "boolean"
          },
          "monthly_installments_options": {
            "items": {
              "format": "int8",
              "type": "integer"
            },
            "type": "array"
          },
          "name": {
            "example": "ord-2tNDzhA4Akmzj11AS",
            "type": "string"
          },
          "needs_shipping_contact": {
            "example": false,
            "type": "boolean"
          },
          "object": {
            "example": "checkout",
            "type": "string"
          },
          "on_demand_enabled": {
            "example": true,
            "nullable": true,
            "type": "boolean"
          },
          "paid_payments_count": {
            "example": 0,
            "type": "integer"
          },
          "recurrent": {
            "example": false,
            "type": "boolean"
          },
          "redirection_time": {
            "description": "number of seconds to wait before redirecting to the success_url",
            "example": 2,
            "format": "int8",
            "nullable": true,
            "type": "integer"
          },
          "slug": {
            "example": "6fca054a85194c43971ecea35cc519bb",
            "type": "string"
          },
          "sms_sent": {
            "example": 0,
            "type": "integer"
          },
          "success_url": {
            "example": "http://187.216.228.66:2222/SysVentasPagos/Acceso.aspx",
            "type": "string"
          },
          "starts_at": {
            "example": 1676354400,
            "type": "integer"
          },
          "status": {
            "example": "Issued",
            "type": "string"
          },
          "type": {
            "example": "HostedPayment",
            "type": "string"
          },
          "url": {
            "example": "https://pay.stg.conekta.io/checkout/6fca054a85194c43971ecea35cc519bb",
            "type": "string"
          }
        },
        "type": "object"
      },
      "order_response_customer_info": {
        "allOf": [
          {
            "properties": {
              "object": {
                "example": "customer_info",
                "type": "string"
              }
            },
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/order_customer_info_response"
          },
          {
            "$ref": "#/components/schemas/customer_info_just_customer_id_response"
          }
        ]
      },
      "order_discount_lines_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/pagination"
          },
          {
            "properties": {
              "data": {
                "items": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/discount_lines_response"
                    }
                  ],
                  "title": "discount_lines_data_response"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "title": "order_discount_lines_response"
      },
      "order_fiscal_entity_address_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/fiscal_entity_address"
          },
          {
            "properties": {
              "object": {
                "example": "fiscal_entity_address",
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "description": "Address of the fiscal entity",
        "title": "order_fiscal_entity_address_response"
      },
      "order_fiscal_entity_response": {
        "description": "Fiscal entity of the order, Currently it is a purely informative field",
        "nullable": true,
        "properties": {
          "address": {
            "$ref": "#/components/schemas/order_fiscal_entity_address_response"
          },
          "email": {
            "description": "Email of the fiscal entity",
            "example": "test@gmail.com",
            "nullable": true,
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "description": "Metadata associated with the fiscal entity",
            "maxProperties": 100,
            "type": "object"
          },
          "name": {
            "description": "Name of the fiscal entity",
            "example": "Conekta Inc",
            "nullable": true,
            "type": "string"
          },
          "tax_id": {
            "description": "Tax ID of the fiscal entity",
            "example": "324234234",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "ID of the fiscal entity",
            "example": "fis_ent_2tN85VYaSMyDvjB3M",
            "type": "string"
          },
          "created_at": {
            "description": "The time at which the object was created in seconds since the Unix epoch",
            "example": 1676328434,
            "format": "int64",
            "type": "integer"
          },
          "object": {
            "example": "fiscal_entity",
            "type": "string"
          },
          "phone": {
            "description": "Phone of the fiscal entity",
            "example": "+525511223344",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "address",
          "created_at",
          "id",
          "object"
        ],
        "title": "order_fiscal_entity_response",
        "type": "object"
      },
      "product_data_response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/product"
          },
          {
            "properties": {
              "id": {
                "type": "string"
              },
              "object": {
                "type": "string"
              },
              "parent_id": {
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "title": "product_data_response"
      },
      "order_response_products": {
        "allOf": [
          {
            "$ref": "#/components/schemas/pagination"
          },
          {
            "$ref": "#/components/schemas/page"
          },
          {
            "properties": {
              "data": {
                "items": {
                  "$ref": "#/components/schemas/product_data_response"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "title": "order_response_products"
      },
      "order_next_action_response_redirect_to_url": {
        "description": "contains the following attributes that will guide to continue the flow",
        "properties": {
          "url": {
            "description": "pay.conekta.com/{id} Indicates the url of the Conekta component to authenticate the flow through 3DS2.",
            "example": "https://pay.conekta.com/6fca054a85194c43971ecea35cc519bb",
            "format": "uri",
            "type": "string"
          },
          "return_url": {
            "description": "Indicates the url to which the 3DS2 flow returns at the end, when the integration is redirected.",
            "example": "https://my-website.com\"",
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "order_next_action_response": {
        "description": "contains the following attributes that will guide to continue the flow",
        "properties": {
          "redirect_to_url": {
            "$ref": "#/components/schemas/order_next_action_response_redirect_to_url"
          },
          "type": {
            "description": "Indicates the type of action to be taken",
            "example": "redirect_to_url",
            "type": "string"
          }
        },
        "title": "order_next_action_response",
        "type": "object"
      },
      "order_response_shipping_contact": {
        "allOf": [
          {
            "properties": {
              "created_at": {
                "format": "int64",
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "object": {
                "type": "string"
              }
            },
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/customer_shipping_contacts_response"
          }
        ]
      },
      "customer_shipping_contacts_response_address": {
        "properties": {
          "object": {
            "example": "shipping_address",
            "type": "string"
          },
          "street1": {
            "example": "Nuevo Leon 254",
            "type": "string"
          },
          "street2": {
            "example": "Departamento 404",
            "type": "string"
          },
          "postal_code": {
            "example": "06100",
            "type": "string"
          },
          "city": {
            "example": "Ciudad de Mexico",
            "type": "string"
          },
          "state": {
            "example": "Ciudad de Mexico",
            "type": "string"
          },
          "country": {
            "example": "MX",
            "type": "string"
          },
          "residential": {
            "example": true,
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "details_error": {
        "properties": {
          "code": {
            "example": "conekta.errors.authentication.missing_key",
            "type": "string"
          },
          "param": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "example": "Acceso no autorizado.",
            "type": "string"
          },
          "debug_message": {
            "example": "Please include your access key in your request.",
            "type": "string"
          }
        },
        "title": "details_error",
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```