Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/orders/execute-due

POST/v1/orders/execute-due
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
nowstring | null
Show properties
Any of:
string
string
null
null
limitnumber | null
Show properties
Any of:
number
number
null
null
Responses
200

Success

dataobjectrequired
Show properties
ordersobject[]required
Show properties
Array of object
orderIdstringrequired
min length 1
orderFormIdstringrequired
min length 1
quoteIdstringrequired
min length 1
quoteVersionIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
numberstringrequired
min length 1
statusstringrequired
Allowed:createdexecutedfailed
executionRecordobjectrequired
Show properties
subscriptionIdsstring[]required
appliedCouponIdsstring[]required
errorsstring[]required
executedAtstring | null
Show properties
Any of:
string
string
null
null
executionModestring | null
Show properties
Any of:
string
string
null
null
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
amendmentCreditobject | null
Show properties
Any of:
object
invoiceIdstringrequired
min length 1
currencystringrequired
min length 1
linesobject[]required
Show properties
Array of object
priceIdstringrequired
min length 1
amountnumberrequired
descriptionstringrequired
invoiceLineIdstring | null
Show properties
Any of:
string
string
null
null
null
null
creditNoteIdsstring[] | null
Show properties
Any of:
string[]
Array of string
string
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
amendsOrderIdstring | null
Show properties
Any of:
string
string
null
null
executionModestring | null
Show properties
Any of:
string
string
null
null
executeAtstring | null
Show properties
Any of:
string
string
null
null
executedAtstring | null
Show properties
Any of:
string
string
null
null
customFieldDataobject | null
Show properties
Any of:
object
object
null
null
failedOrdersobject[]required
Show properties
Array of object
orderIdstringrequired
min length 1
orderFormIdstringrequired
min length 1
quoteIdstringrequired
min length 1
quoteVersionIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
numberstringrequired
min length 1
statusstringrequired
Allowed:createdexecutedfailed
executionRecordobjectrequired
Show properties
subscriptionIdsstring[]required
appliedCouponIdsstring[]required
errorsstring[]required
executedAtstring | null
Show properties
Any of:
string
string
null
null
executionModestring | null
Show properties
Any of:
string
string
null
null
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
amendmentCreditobject | null
Show properties
Any of:
object
invoiceIdstringrequired
min length 1
currencystringrequired
min length 1
linesobject[]required
Show properties
Array of object
priceIdstringrequired
min length 1
amountnumberrequired
descriptionstringrequired
invoiceLineIdstring | null
Show properties
Any of:
string
string
null
null
null
null
creditNoteIdsstring[] | null
Show properties
Any of:
string[]
Array of string
string
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
amendsOrderIdstring | null
Show properties
Any of:
string
string
null
null
executionModestring | null
Show properties
Any of:
string
string
null
null
executeAtstring | null
Show properties
Any of:
string
string
null
null
executedAtstring | null
Show properties
Any of:
string
string
null
null
customFieldDataobject | null
Show properties
Any of:
object
object
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/orders/execute-due?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":50}'
Response
{
  "data": {
    "orders": [
      {
        "orderId": "string",
        "orderFormId": "string",
        "quoteId": "string",
        "quoteVersionId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "merchantAccountId": "string",
        "number": "string",
        "status": "created",
        "executionRecord": {
          "subscriptionIds": [
            "string"
          ],
          "appliedCouponIds": [
            "string"
          ],
          "errors": [
            "string"
          ],
          "executedAt": "string",
          "executionMode": "execute_in_vortex",
          "invoiceId": "string",
          "amendmentCredit": {
            "invoiceId": "string",
            "currency": "string",
            "lines": [
              {
                "priceId": "string",
                "amount": 0,
                "description": "string",
                "invoiceLineId": "string"
              }
            ]
          },
          "creditNoteIds": [
            "string"
          ]
        },
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "updatedAt": "string",
        "amendsOrderId": "string",
        "executionMode": "execute_in_vortex",
        "executeAt": "string",
        "executedAt": "string",
        "customFieldData": {
          "property1": "string",
          "property2": "string"
        }
      }
    ],
    "failedOrders": [
      {
        "orderId": "string",
        "orderFormId": "string",
        "quoteId": "string",
        "quoteVersionId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "merchantAccountId": "string",
        "number": "string",
        "status": "created",
        "executionRecord": {
          "subscriptionIds": [
            "string"
          ],
          "appliedCouponIds": [
            "string"
          ],
          "errors": [
            "string"
          ],
          "executedAt": "string",
          "executionMode": "execute_in_vortex",
          "invoiceId": "string",
          "amendmentCredit": {
            "invoiceId": "string",
            "currency": "string",
            "lines": [
              {
                "priceId": "string",
                "amount": 0,
                "description": "string",
                "invoiceLineId": "string"
              }
            ]
          },
          "creditNoteIds": [
            "string"
          ]
        },
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "updatedAt": "string",
        "amendsOrderId": "string",
        "executionMode": "execute_in_vortex",
        "executeAt": "string",
        "executedAt": "string",
        "customFieldData": {
          "property1": "string",
          "property2": "string"
        }
      }
    ]
  },
  "requestId": "string"
}

Was this page helpful?