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/webhook-deliveries/dispatch

POST/v1/webhook-deliveries/dispatch
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
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
deliveryIdstring | null
Show properties
Any of:
string
string
null
null
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
attemptednumberrequired
deliverednumberrequired
pendingnumberrequired
failednumberrequired
outcomesobject[]required
Show properties
Array of object
deliveryIdstringrequired
min length 1
statusstringrequired
Allowed:deliveredpendingfailed
httpStatusCodenumber | null
Show properties
Any of:
number
number
null
null
failureKindstring | null
Show properties
Any of:
string
string
null
null
responseBodystring | null
Show properties
Any of:
string
string
null
null
errorstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/webhook-deliveries/dispatch?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":10}'
Response
{
  "data": {
    "attempted": 0,
    "delivered": 0,
    "pending": 0,
    "failed": 0,
    "outcomes": [
      {
        "deliveryId": "string",
        "status": "delivered",
        "httpStatusCode": 0,
        "failureKind": "string",
        "responseBody": "string",
        "error": "string"
      }
    ]
  },
  "requestId": "string"
}