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/{deliveryId}/replay

POST/v1/webhook-deliveries/{deliveryId}/replay
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
deliveryIdstringrequired
min length 1
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
Any of:
object
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
null
null
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
endpointIdstringrequired
min length 1
eventTypestringrequired
min length 1
aggregateTypestringrequired
min length 1
aggregateIdstringrequired
min length 1
statusstringrequired
Allowed:pendingdeliveringdeliveredfaileddiscarded
attemptCountnumberrequired
lastAttemptAtstring | null
Show properties
Any of:
string
string
null
null
httpStatusCodenumber | null
Show properties
Any of:
number
number
null
null
failureReasonstring | null
Show properties
Any of:
string
string
null
null
canonicalEventIdstring | null
Show properties
Any of:
string
string
null
null
replayedFromDeliveryIdstring | null
Show properties
Any of:
string
string
null
null
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/webhook-deliveries/{deliveryId}/replay?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"replayedByRef":"operator","dispatch":true}'
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "endpointId": "string",
    "eventType": "string",
    "aggregateType": "string",
    "aggregateId": "string",
    "status": "pending",
    "attemptCount": 0,
    "lastAttemptAt": "string",
    "httpStatusCode": 0,
    "failureReason": "string",
    "canonicalEventId": "string",
    "replayedFromDeliveryId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  },
  "requestId": "string"
}