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/payables

POST/v1/payables
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
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
sourceobjectrequired
Show properties
sourceTypestringrequired
Allowed:document_payment_fieldone_time_invoiceexternal_record
sourceIdstringrequired
min length 1
documentIdstring | null
Show properties
Any of:
string
string
null
null
paymentFieldIdstring | null
Show properties
Any of:
string
string
null
null
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
lineItemsobject[]required
Show properties
Array of object
priceIdstringrequired
min length 1
taxablebooleanrequired
quantitynumber | null
Show properties
Any of:
number
number
null
null
taxClassificationKeystring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
collectionIntentstringrequired
Allowed:manualautomatic
payableIdstring | null
Show properties
Any of:
string
string
null
null
paymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
dueAtstring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
tenantIdstring | null
Show properties
Any of:
string
string
null
null
taxIdempotencyKeystring | null
Show properties
Any of:
string
string
null
null
customerTaxAddressobject | null
Show properties
Any of:
object
line1stringrequired
min length 1
citystringrequired
min length 1
regionstringrequired
min length 1
postalCodestringrequired
min length 1
countrystringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
null
null
customerTaxIdsobject[] | null
Show properties
Any of:
object[]
Array of object
typestringrequired
min length 1
valuestringrequired
min length 1
null
null
customerTypestring | null
Show properties
Any of:
string
string
null
null
customerTaxExemptboolean | null
Show properties
Any of:
boolean
boolean
null
null
customerTaxExemptionRefstring | null
Show properties
Any of:
string
string
null
null
fallbackOnProviderUnavailableboolean | null
Show properties
Any of:
boolean
boolean
null
null
taxIdValidationstring | null
Show properties
Any of:
string
string
null
null
taxIdUnverifiableTreatmentstring | null
Show properties
Any of:
string
string
null
null
shipFromAddressobject | null
Show properties
Any of:
object
line1stringrequired
min length 1
citystringrequired
min length 1
regionstringrequired
min length 1
postalCodestringrequired
min length 1
countrystringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
null
null
taxBehaviorstring | null
Show properties
Any of:
string
string
null
null
classificationKeystring | null
Show properties
Any of:
string
string
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
Responses
201

Success

dataobjectrequired
Show properties
payableIdstringrequired
min length 1
sourceobjectrequired
Show properties
sourceTypestringrequired
Allowed:document_payment_fieldone_time_invoiceexternal_record
sourceIdstringrequired
min length 1
documentIdstring | null
Show properties
Any of:
string
string
null
null
paymentFieldIdstring | null
Show properties
Any of:
string
string
null
null
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
currencystringrequired
min length 1
subtotalnumberrequired
taxTotalnumberrequired
totalnumberrequired
amountPaidnumberrequired
amountRemainingnumberrequired
taxModestringrequired
Allowed:not_taxabletaxable_requires_evidence
statusstringrequired
Allowed:draftreadyawaiting_paymentpaidfailedcanceledrefundedreversed
collectionIntentstringrequired
Allowed:manualautomatic
feePolicyobjectrequired
Show properties
policyIdstringrequired
min length 1
ownerModestringrequired
Allowed:merchant_pays_processingcustomer_pays_processingplatform_absorbs_processingplatform_fee_deducted
platformFeeobjectrequired
Show properties
Any of:
object
modestringrequired
Show properties
Any of:
string
string
object
modestringrequired
Show properties
Any of:
string
string
amountnumberrequired
currencystringrequired
min length 1
roundingstringrequired
Show properties
Any of:
string
string
object
modestringrequired
Show properties
Any of:
string
string
basisPointsnumberrequired
roundingstringrequired
Show properties
Any of:
string
string
sourceobjectrequired
Show properties
scopestringrequired
Allowed:merchant_accountpayabledocument_payment_fieldproduct
scopeIdstringrequired
min length 1
auditobjectrequired
Show properties
createdByTypestringrequired
Allowed:systemoperatoradopter
createdByRefstringrequired
min length 1
reasonstringrequired
min length 1
executionobjectrequired
Show properties
statusstringrequired
Allowed:modeled_not_settlement_executedsettlement_executed
stopConditionstringrequired
min length 1
evidencestring[]required
lineageobjectrequired
Show properties
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
paymentRequestIdstring | null
Show properties
Any of:
string
string
null
null
checkoutLinkIdstring | null
Show properties
Any of:
string
string
null
null
checkoutSessionIdstring | null
Show properties
Any of:
string
string
null
null
checkoutUrlstring | null
Show properties
Any of:
string
string
null
null
latestPaymentAttemptIdstring | null
Show properties
Any of:
string
string
null
null
latestPaymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
latestPaymentIdstring | null
Show properties
Any of:
string
string
null
null
taxEvidenceVersionstring | null
Show properties
Any of:
string
string
null
null
taxTransactionIdstring | null
Show properties
Any of:
string
string
null
null
creditNoteIdstring | null
Show properties
Any of:
string
string
null
null
refundIdstring | null
Show properties
Any of:
string
string
null
null
statusReasonstringrequired
min length 1
operatorEvidencestring[]required
metadataobjectrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
dueAtstring | 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/payables?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "payableId": "string",
    "source": {
      "sourceType": "document_payment_field",
      "sourceId": "string",
      "documentId": "string",
      "paymentFieldId": "string"
    },
    "customerId": "string",
    "billingAccountId": "string",
    "merchantAccountId": "string",
    "currency": "string",
    "subtotal": 0,
    "taxTotal": 0,
    "total": 0,
    "amountPaid": 0,
    "amountRemaining": 0,
    "taxMode": "not_taxable",
    "status": "draft",
    "collectionIntent": "manual",
    "feePolicy": {
      "policyId": "string",
      "ownerMode": "merchant_pays_processing",
      "platformFee": {
        "mode": "none"
      },
      "source": {
        "scope": "merchant_account",
        "scopeId": "string"
      },
      "audit": {
        "createdByType": "system",
        "createdByRef": "string",
        "reason": "string"
      },
      "execution": {
        "status": "modeled_not_settlement_executed",
        "stopCondition": "string"
      },
      "evidence": [
        "string"
      ]
    },
    "lineage": {
      "invoiceId": "string",
      "paymentRequestId": "string",
      "checkoutLinkId": "string",
      "checkoutSessionId": "string",
      "checkoutUrl": "string",
      "latestPaymentAttemptId": "string",
      "latestPaymentIntentId": "string",
      "latestPaymentId": "string",
      "taxEvidenceVersion": "string",
      "taxTransactionId": "string",
      "creditNoteId": "string",
      "refundId": "string"
    },
    "statusReason": "string",
    "operatorEvidence": [
      "string"
    ],
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "updatedAt": "string",
    "dueAt": "string"
  },
  "requestId": "string"
}