v1

latestOpenAPI 3.1.02026-07-24180245513.9 KB
Inquiries

Deny inquiry (deprecated)

Deprecated. This endpoint will be removed in a future version — the denied status on inquiries is also deprecated and will no longer be available.

Deny an inquiry for a return request previously received. No return will be created.

post/inquiries/{id}/deny

Path parameters

idstring uuid required

The ID of the inquiry to deny.

Request body

reason'CUST' | 'LEGL' | 'ARDT' | 'AC04' | 'AM04' | 'NOAS' | 'NOOR' required

The reason for denying the inquiry.

Response

Successfully retrieved inquiry.

idstring uuid required

The UUID of the inquiry.

object'inquiry' required

Label used to identify this kind of object

status'created' | 'processing' | 'sent' | 'received' | 'denied' | 'archived' required

The status of the inquiry.

status_detailsstring required

The details of the status of the inquiry.

connected_account_idstring uuid required

The ID of the connected account.

related_request_type'return_request' | 'claim' required

The type of the request related to the inquiry.

related_request_idstring uuid required

The ID of the request related to the inquiry.

created_atstring date-time required

The UTC timestamp of the creation of the inquiry.

datestring date required

The date of the inquiry.

Example response

{
  "object": "inquiry",
  "status": "received",
  "status_details": "AC04",
  "bank_data": {
    "message_id": "zNhzzPND67KMfbOs5U0d47dLRB",
    "status_request_id": "dtL9AGFHbeWQVABPcTt4oWIeTgFI"
  }
}