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

GET/v1/payment-requests
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
customerExternalIdstring
min length 1
customerstring
min length 1
billingAccountIdstring
min length 1
invoiceIdstring
min length 1
invoicestring
min length 1
paymentIntentIdstring
min length 1
paymentIdstring
min length 1
createdByRefstring
min length 1
statusstring
Allowed:openpaidcanceledexpired
lastAttemptStatusstring
Allowed:succeededpartialfailedpending
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
offsetstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
Responses
200

Success

dataobjectrequired
Show properties
paymentRequestsobject[]required
Show properties
Array of object
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
invoiceNumbersstring[]required
latestCheckoutLinkobject | nullrequired
Show properties
Any of:
object
linkIdstringrequired
min length 1
paymentRequestIdstringrequired
min length 1
statusstringrequired
Allowed:activerevoked
createdAtstringrequired
min length 1
expiresAtstring | null
Show properties
Any of:
string
string
null
null
revokedAtstring | null
Show properties
Any of:
string
string
null
null
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/payment-requests?environment=sandbox&merchantAccountId=...&customer=...&customerExternalId=...&billingAccountId=...&invoice=...&invoiceId=...&paymentIntentId=...&paymentId=...&createdByRef=...&status=...&lastAttemptStatus=...&limit=...&offset=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "paymentRequests": [
      {
        "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",
        "invoiceNumbers": [
          "string"
        ],
        "latestCheckoutLink": {
          "linkId": "string",
          "paymentRequestId": "string",
          "status": "active",
          "createdAt": "string",
          "expiresAt": "string",
          "revokedAt": "string"
        }
      }
    ]
  },
  "requestId": "string"
}