Revokes payment method shares (bulk or all). Beta

DELETE /2026-2/payment-methods/{paymentMethodId}/shares

Deletes payment method shares for the given payment method. If a body with shareIds is provided, only those shares are revoked (1–100 IDs). If the body is omitted or shareIds is empty, all shares for this payment method are revoked.

Path parameters

  • paymentMethodId string(uuid) Required

    The ID of the payment method to revoke shares for.

application/json

Body

  • shareIds array[string(uuid)]

    The IDs of the payment method shares to revoke. Maximum 50 per request. Omit or pass an empty array to revoke all shares for the payment method.

    Not more than 50 elements.

Responses

  • 204

    The specified payment method shares were deleted.

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 500

    An internal server error occurred.

DELETE /2026-2/payment-methods/{paymentMethodId}/shares
curl \
 --request DELETE 'https://api.pace.cloud/payment/2026-2/payment-methods/ca1367ed-7e4f-4b1a-9c51-eb2cd14f577c/shares' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"shareIds":["cf315018-bba1-4d25-8417-9182c149b951","6527a33c-c301-4f54-a838-bbfd4c1ec7e0"]}'
Request examples
{
  "shareIds": [
    "cf315018-bba1-4d25-8417-9182c149b951",
    "6527a33c-c301-4f54-a838-bbfd4c1ec7e0"
  ]
}