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/payment-receipts/{paymentReceiptId}/mark-generated

POST/v1/payment-receipts/{paymentReceiptId}/mark-generated
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
paymentReceiptIdstringrequired
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
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
receiptIdstring | null
Show properties
Any of:
string
string
null
null
fileUrlstring | null
Show properties
Any of:
string
string
null
null
xmlUrlstring | null
Show properties
Any of:
string
string
null
null
generatedAtstring | null
Show properties
Any of:
string
string
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
receiptIdstringrequired
min length 1
receiptNumberstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
invoiceIdsstring[]required
paymentIdstringrequired
min length 1
currencystringrequired
min length 1
amountnumberrequired
statusstringrequired
Allowed:createdgenerated
metadataobjectrequired
createdAtstringrequired
min length 1
paymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
fileUrlstring | null
Show properties
Any of:
string
string
null
null
xmlUrlstring | null
Show properties
Any of:
string
string
null
null
generatedAtstring | 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/payment-receipts/:paymentReceiptId/mark-generated?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "receiptId": "string",
    "receiptNumber": "string",
    "customerId": "string",
    "billingAccountId": "string",
    "invoiceIds": [
      "string"
    ],
    "paymentId": "string",
    "currency": "string",
    "amount": 0,
    "status": "created",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "paymentIntentId": "string",
    "fileUrl": "string",
    "xmlUrl": "string",
    "generatedAt": "string"
  },
  "requestId": "string"
}

Was this page helpful?