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

GET /v1/payment-requests/{paymentRequestId}

GET/v1/payment-requests/{paymentRequestId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
paymentRequestIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
paymentRequestobjectrequired
Show properties
paymentRequestIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
statusstringrequired
Allowed:openpaidcanceledexpired
currencystringrequired
min length 1
amountRequestednumberrequired
amountPaidnumberrequired
amountRemainingnumberrequired
invoiceCountnumberrequired
attemptCountnumberrequired
createdByTypestringrequired
Allowed:systemoperator
createdByRefstringrequired
min length 1
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
metadataobjectrequired
lastAttemptStatusstring | null
Show properties
Any of:
string
string
null
null
lastAttemptErrorstring | null
Show properties
Any of:
string
string
null
null
lastPaymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
lastPaymentIdstring | null
Show properties
Any of:
string
string
null
null
dueAtstring | null
Show properties
Any of:
string
string
null
null
expiresAtstring | null
Show properties
Any of:
string
string
null
null
lastAttemptedAtstring | null
Show properties
Any of:
string
string
null
null
paidAtstring | null
Show properties
Any of:
string
string
null
null
canceledAtstring | null
Show properties
Any of:
string
string
null
null
invoicesobject[]required
Show properties
Array of object
invoiceIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
statusstringrequired
Allowed:draftopenpaidpartially_paidpast_duevoiduncollectible
currencystringrequired
min length 1
subtotalnumberrequired
discountTotalnumberrequired
taxTotalnumberrequired
totalnumberrequired
amountPaidnumberrequired
amountRemainingnumberrequired
metadataobjectrequired
subscriptionIdstring | null
Show properties
Any of:
string
string
null
null
creditNoteTotalnumber | null
Show properties
Any of:
number
number
null
null
customerBalanceAppliedTotalnumber | null
Show properties
Any of:
number
number
null
null
periodStartAtstring | null
Show properties
Any of:
string
string
null
null
periodEndAtstring | null
Show properties
Any of:
string
string
null
null
issuedAtstring | null
Show properties
Any of:
string
string
null
null
dueAtstring | null
Show properties
Any of:
string
string
null
null
finalizedAtstring | null
Show properties
Any of:
string
string
null
null
voidedAtstring | null
Show properties
Any of:
string
string
null
null
createdAtstring | null
Show properties
Any of:
string
string
null
null
updatedAtstring | null
Show properties
Any of:
string
string
null
null
linksobject[]required
Show properties
Array of object
paymentRequestIdstringrequired
min length 1
invoiceIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
currencystringrequired
min length 1
amountRequestednumberrequired
amountRemainingAtCreationnumberrequired
appliedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/payment-requests/{paymentRequestId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "paymentRequest": {
      "paymentRequestId": "string",
      "customerId": "string",
      "billingAccountId": "string",
      "status": "open",
      "currency": "string",
      "amountRequested": 0,
      "amountPaid": 0,
      "amountRemaining": 0,
      "invoiceCount": 0,
      "attemptCount": 0,
      "createdByType": "system",
      "createdByRef": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "lastAttemptStatus": "succeeded",
      "lastAttemptError": "string",
      "lastPaymentIntentId": "string",
      "lastPaymentId": "string",
      "dueAt": "string",
      "expiresAt": "string",
      "lastAttemptedAt": "string",
      "paidAt": "string",
      "canceledAt": "string"
    },
    "invoices": [
      {
        "invoiceId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "status": "draft",
        "currency": "string",
        "subtotal": 0,
        "discountTotal": 0,
        "taxTotal": 0,
        "total": 0,
        "amountPaid": 0,
        "amountRemaining": 0,
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "subscriptionId": "string",
        "creditNoteTotal": 0,
        "customerBalanceAppliedTotal": 0,
        "periodStartAt": "string",
        "periodEndAt": "string",
        "issuedAt": "string",
        "dueAt": "string",
        "finalizedAt": "string",
        "voidedAt": "string",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ],
    "links": [
      {
        "paymentRequestId": "string",
        "invoiceId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "currency": "string",
        "amountRequested": 0,
        "amountRemainingAtCreation": 0,
        "appliedAt": "string"
      }
    ]
  },
  "requestId": "string"
}