Skip to main content
POST
/
payment-setting
/
bulk
/
delete
Delete Bulk Payment Settings
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "<string>"
  ]
}'
{
  "message": "Payment settings deleted successfully",
  "deletedCount": 3
}
Delete Bulk Payment Settings Description:
The /payment-setting/bulk/delete endpoint allows deletion of multiple payment settings simultaneously.
Method:
POST
Request Payload:
ParameterTypeDescription
paymentSettingIdsarrayArray of payment setting IDs to delete

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
idsarrayArray of payment setting IDs to delete

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

❌ 500 - Internal Server Error

Tags

Payment Settings

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
ids
string[]
required

Array of payment setting IDs to delete

Response

Success

message
string
deletedCount
integer
I