Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation
Payment Methods

Disable Stored Payment Method

OpenAPI Spec

Test this endpoint live

Open the same request directly in API Explorer.

Open in API Explorer

Server URL

DELETE
/public/api/v1/payment-methods/{id}

Permanently disables a stored payment method for the authenticated customer. The payment method is immediately removed from the payment window and can no longer be used for quick checkout without entering card information.

This operation is irreversible and idempotent. It returns 200 OK with no response body even when the payment method is not currently stored; in that case, no action is taken.

Authorization

BearerAuth
headerAuthorizationBearer <token>

Path Parameters

idstring
Required

The ID of the payment method.

Format:
uuid

Response Body

application/json

application/json

application/json

curl -X DELETE 'https://payments.epay.eu/public/api/v1/payment-methods/01924756-d1f6-738d-8040-90d76cedf01f'
Empty