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/customers/{customerId}/balance

GET/v1/customers/{customerId}/balance
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
customerIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
currencystring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
customerIdstringrequired
min length 1
currencystringrequired
min length 1
availableAmountnumberrequired
entriesobject[]required
Show properties
Array of object
entryIdstringrequired
min length 1
customerIdstringrequired
min length 1
currencystringrequired
min length 1
entryTypestringrequired
Allowed:grantconsumeexpirereverse
amountnumberrequired
effectiveAtstringrequired
min length 1
metadataobjectrequired
remainingAmountnumber | null
Show properties
Any of:
number
number
null
null
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
paymentIdstring | null
Show properties
Any of:
string
string
null
null
walletIdstring | null
Show properties
Any of:
string
string
null
null
descriptionstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/customers/{customerId}/balance?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "customerId": "string",
    "currency": "string",
    "availableAmount": 0,
    "entries": [
      {
        "entryId": "string",
        "customerId": "string",
        "currency": "string",
        "entryType": "grant",
        "amount": 0,
        "effectiveAt": "string",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "remainingAmount": 0,
        "invoiceId": "string",
        "paymentId": "string",
        "walletId": "string",
        "description": "string"
      }
    ]
  },
  "requestId": "string"
}