Shared
Payment
Remove Payment Method

Remove Payment Method

DELETE endpoint for /shared/payment/remove-payment-method in shared category

Overview

  • Method: DELETE
  • Path: /shared/payment/remove-payment-method
  • Tags: shared

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "data": {
      "type": "string"
    },
    "displayId": {
      "type": "number"
    }
  },
  "required": [
    "success",
    "message",
    "data",
    "displayId"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "success",
    "message"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X DELETE \
  http://localhost:9000/shared/payment/remove-payment-method \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).