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/refunds/{refundId}

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

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
paymentIdstringrequired
min length 1
amountnumberrequired
currencystringrequired
min length 1
statusstringrequired
Allowed:pendingsucceededfailed
reasonstringrequired
min length 1
terminalSessionIdstring | null
Show properties
Any of:
string
string
null
null
terminalReaderIdstring | 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/refunds/{refundId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "id": "string",
    "merchantAccountId": "string",
    "paymentId": "string",
    "amount": 0,
    "currency": "string",
    "status": "pending",
    "reason": "string",
    "terminalSessionId": "string",
    "terminalReaderId": "string"
  },
  "requestId": "string"
}

Was this page helpful?