Payments
Delete Payment
Learn how to delete payments using the endpoint DELETE /stores//payments/.
DELETE
Delete payment
📌 Endpoint
DELETE /stores/{storeId}/payments/{paymentId}
Deletes an expired payment from the store.
🔐 Authentication
- Private route.
- Requires header
Authorizationwith your API key and active plan.
🧾 Route parameters
✅ Example request
Standard snippet (cURL)
Use the cURL example from the Request example section above as the official snippet.📦 Success response (200)
⚠️ Possible errors
400 INVALID_DATA→ invalid parameters401 API_KEY_NOT_PROVIDED→ missingAuthorizationheader401 INVALID_API_KEY→ invalid API key401 UNAUTHENTICATED→ unauthenticated user403 USER_DISABLED→ user disabled or deleted403 NO_ACTIVE_SUBSCRIPTION→ inactive or expired plan403 DELETE_NOT_ALLOWED→ only payments with statusEXPIREDcan be removed404 STORE_NOT_FOUND→ store not found404 PAYMENT_NOT_FOUND→ payment not found429 RATE_LIMIT_EXCEEDED→ plan per-minute rate limit exceeded500 INTERNAL_SERVER_ERROR→ internal error503 SERVICE_UNAVAILABLE→ service temporarily unavailable