Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

List AI refund requests (approval artifacts; no PSP refund)

GET/v1/ai/refund-requests
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Query parameters
conversation_idstring
statusstring
limitinteger<int64>
Responses
200OK
itemsRefundRequestRecord[] | nullrequired
Show properties
Array of RefundRequestRecord
actor_user_idstring
agent_idstring
amountnumber<double>
contact_idstring
conversation_idstring
created_atstringrequired
currencystring
idstringrequired
interrupt_idstring
order_refstringrequired
organization_idstringrequired
reasonstring
reject_reasonstring
resolved_atstring
run_idstring
statusstringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/ai/refund-requests"
Response
{
  "items": [
    {
      "actor_user_id": "string",
      "agent_id": "string",
      "amount": 0,
      "contact_id": "string",
      "conversation_id": "string",
      "created_at": "string",
      "currency": "string",
      "id": "string",
      "interrupt_id": "string",
      "order_ref": "string",
      "organization_id": "string",
      "reason": "string",
      "reject_reason": "string",
      "resolved_at": "string",
      "run_id": "string",
      "status": "string",
      "updated_at": "string"
    }
  ]
}