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/wallets/{walletId}/recurring-rules

POST/v1/wallets/{walletId}/recurring-rules
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
walletIdstringrequired
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
ruleIdstring | null
Show properties
Any of:
string
string
null
null
walletIdstring | null
Show properties
Any of:
string
string
null
null
triggerstringrequired
Allowed:intervalthreshold
intervalstring | null
Show properties
Any of:
string
string
null
null
thresholdCreditsstring | null
Show properties
Any of:
string
string
null
null
methodstring | null
Show properties
Any of:
string
string
null
null
paidCreditsboolean | null
Show properties
Any of:
boolean
boolean
null
null
grantedCreditsstring | null
Show properties
Any of:
string
string
null
null
targetCreditsstring | null
Show properties
Any of:
string
string
null
null
priceIdstring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
Responses
201

Success

dataobjectrequired
Show properties
ruleIdstringrequired
min length 1
walletIdstringrequired
min length 1
triggerstringrequired
Allowed:intervalthreshold
intervalstring | null
Show properties
Any of:
string
string
null
null
thresholdCreditsstring | null
Show properties
Any of:
string
string
null
null
methodstringrequired
Allowed:fixedtarget
paidCreditsbooleanrequired
grantedCreditsstring | null
Show properties
Any of:
string
string
null
null
targetCreditsstring | null
Show properties
Any of:
string
string
null
null
priceIdstring | null
Show properties
Any of:
string
string
null
null
startedAtstringrequired
min length 1
lastTriggeredAtstring | null
Show properties
Any of:
string
string
null
null
terminatedAtstring | null
Show properties
Any of:
string
string
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/wallets/:walletId/recurring-rules?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "ruleId": "string",
    "walletId": "string",
    "trigger": "interval",
    "interval": "weekly",
    "thresholdCredits": "string",
    "method": "fixed",
    "paidCredits": true,
    "grantedCredits": "string",
    "targetCredits": "string",
    "priceId": "string",
    "startedAt": "string",
    "lastTriggeredAt": "string",
    "terminatedAt": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "updatedAt": "string"
  },
  "requestId": "string"
}