Payment Methods

Delete a payment method

curl -X DELETE https://api.subscriby.net/v1/projects/$PROJECT_ID/payment-methods/$METHOD_ID \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"

Returns 204 No Content. The row is soft-deleted: subscriptions sold through it keep their gateway for refunds and history, and configuring the same provider and mode again later revives the row instead of creating a duplicate. Buyers lose that way to pay at once. Emits project.payment_method.deleted with a credential-free snapshot; an already-deleted id is a 404.

delete/v1/projects/{project}/payment-methods/{method}

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/projects/{project}/payment-methods/{method}
  • Auth: HTTP bearer

Path parameters

projectstring uuid required

The project, resolved by the route binder.

methodstring uuid required

The method, resolved within the project by the route binder.

Headers

Idempotency-Keystring uuid required

A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.

Response

No content

Changes

No recorded changes to this operation across all 1 revision of this API.