Skip to main content

Documentation

Close Ticket

Closes an open ticket. The request has no body. Closing a ticket that is already closed is safe, and the API returns the ticket unchanged. You cannot reopen a closed ticket through the API.

    • ticket_id

    • The ID of the ticket.

  • /v1/support/tickets/:ticket_id/close

  • Close Ticket

  • curl -X post 'https://sandboxapi.rapyd.net/v1/support/tickets/49230885151/close' \
    -H 'access_key: your-access-key-here' \
    -H 'Content-Type: application/json' \
    -H 'idempotency: your-idempotency-parameter-here' \
    -H 'salt: your-random-string-here' \
    -H 'signature: your-calculated-signature-here' \
    -H 'timestamp: your-unix-timestamp-here' \
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "6f1c1d0e-2b7a-4f0e-9d0a-3c1d8e2b7a11"
        },
        "data": {
            "id": "49230885151",
            "subject": "settlement",
            "description": "Settlement for 2026-09-28 did not arrive.",
            "status": "closed",
            "environment": "Production",
            "created_at": 1791447646,
            "updated_at": 1791450000
        }
    }