Skip to content

Remove a payment method

DELETE
/portal/payment_methods/{payment_method_id}

Remove a payment method. Cannot remove the default payment method.

payment_method_id
required
Payment Method Id
string format: uuid
token
required
Token
string

Successful Response

Cannot delete default payment method

Invalid or expired portal token

Payment method not found

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object