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/card-present-payment-intents/{cardPresentPaymentIntentId}/collection-outcome

POST/v1/card-present-payment-intents/{cardPresentPaymentIntentId}/collection-outcome
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
cardPresentPaymentIntentIdstringrequired
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
outcomestringrequired
Allowed:authorizedcaptureddeclinedcanceled
processorRefobjectrequired
Show properties
providerstringrequired
min length 1
objectTypestringrequired
min length 1
objectIdstringrequired
min length 1
declineCodestring | null
Show properties
Any of:
string
string
null
null
declineMessagestring | null
Show properties
Any of:
string
string
null
null
receiptEvidenceobject | null
Show properties
Any of:
object
approvalCodestring | null
Show properties
Any of:
string
string
null
null
cardBrandstring | null
Show properties
Any of:
string
string
null
null
cardLast4string | null
Show properties
Any of:
string
string
null
null
aidstring | null
Show properties
Any of:
string
string
null
null
applicationLabelstring | null
Show properties
Any of:
string
string
null
null
entryModestring | null
Show properties
Any of:
string
string
null
null
emvDataobject | null
Show properties
Any of:
object
object
null
null
null
null
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
paymentIdstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstringrequired
min length 1
locationIdstringrequired
min length 1
readerIdstringrequired
min length 1
connectionSessionIdstring | null
Show properties
Any of:
string
string
null
null
customerProfileIdstring | null
Show properties
Any of:
string
string
null
null
externalOrderRefstring | null
Show properties
Any of:
string
string
null
null
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
amountnumberrequired
subtotalAmountnumber | null
Show properties
Any of:
number
number
null
null
taxAmountnumber | null
Show properties
Any of:
number
number
null
null
taxTransactionIdstring | null
Show properties
Any of:
string
string
null
null
taxStatusstring | null
Show properties
Any of:
string
string
null
null
receiptEvidenceobject | null
Show properties
Any of:
object
approvalCodestring | null
Show properties
Any of:
string
string
null
null
cardBrandstring | null
Show properties
Any of:
string
string
null
null
cardLast4string | null
Show properties
Any of:
string
string
null
null
aidstring | null
Show properties
Any of:
string
string
null
null
applicationLabelstring | null
Show properties
Any of:
string
string
null
null
entryModestring | null
Show properties
Any of:
string
string
null
null
emvDataobject | null
Show properties
Any of:
object
object
null
null
null
null
currencystringrequired
min length 1
statusstringrequired
Allowed:requires_readerprocessingauthorizedcapturedcanceledfailed
capturePolicyobjectrequired
Show properties
captureModestringrequired
Allowed:automaticmanual
tipAmountnumber | null
Show properties
Any of:
number
number
null
null
allowTipbooleanrequired
allowOvercapturebooleanrequired
maxOvercaptureAmountnumber | null
Show properties
Any of:
number
number
null
null
nextActionstringrequired
Allowed:noneresolve_merchant_readinessenable_locationregister_readerbring_reader_onlinerepair_readercapturecancel
canCapturebooleanrequired
canCancelbooleanrequired
failureCodestring | null
Show properties
Any of:
string
string
null
null
failureMessagestring | null
Show properties
Any of:
string
string
null
null
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
authorizedAtstring | null
Show properties
Any of:
string
string
null
null
capturedAtstring | null
Show properties
Any of:
string
string
null
null
canceledAtstring | 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/card-present-payment-intents/:cardPresentPaymentIntentId/collection-outcome" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "paymentId": "string",
    "merchantAccountId": "string",
    "locationId": "string",
    "readerId": "string",
    "connectionSessionId": "string",
    "customerProfileId": "string",
    "externalOrderRef": "string",
    "invoiceId": "string",
    "amount": 0,
    "subtotalAmount": 0,
    "taxAmount": 0,
    "taxTransactionId": "string",
    "taxStatus": "computed",
    "receiptEvidence": {
      "approvalCode": "string",
      "cardBrand": "string",
      "cardLast4": "string",
      "aid": "string",
      "applicationLabel": "string",
      "entryMode": "string",
      "emvData": {
        "property1": "string",
        "property2": "string"
      }
    },
    "currency": "string",
    "status": "requires_reader",
    "capturePolicy": {
      "captureMode": "automatic",
      "tipAmount": 0,
      "allowTip": true,
      "allowOvercapture": true,
      "maxOvercaptureAmount": 0
    },
    "nextAction": "none",
    "canCapture": true,
    "canCancel": true,
    "failureCode": "string",
    "failureMessage": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "authorizedAt": "string",
    "capturedAt": "string",
    "canceledAt": "string"
  },
  "requestId": "string"
}