Delete payment method
Delete a payment method from your account. Use this endpoint to remove unused payment methods from user accounts.
Delete a payment method from your account.
Use this endpoint to remove unused payment methods from user accounts.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
paymentMethodIdintegerRequiredExample:
Payment method ID
9693613Responses
200
Success empty response
application/json
messagestringOptionalExample:
Request accepted401
Unauthenticated response
application/json
500
Error response
application/json
delete/api/billing/v1/payment-methods/{paymentMethodId}
DELETE /api/billing/v1/payment-methods/{paymentMethodId} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"message": "Request accepted"
}Last updated
Was this helpful?