Hanzo AI
OpenapiBilling

Delete methods

DetachPortalMethod is DetachMethod at the address a hosted checkout addresses it by.

DELETE /v1/billing/portal/methods/{id}

Addresshttps://api.hanzo.ai/v1/billing/portal/methods/{id}
MethodDELETE
Operationdelete_billing_portal_methods_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

DetachPortalMethod is DetachMethod at the address a hosted checkout addresses it by. One set of rows, two spellings: a card detached at either is gone from both, because there is one store behind them.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the saved method to detach, from the path.

Response

StatusBodyMeaning
200Detachmentok

200 body — 2 fields.

FieldInTypeAlwaysDescription
deletedbodybooleanDeleted is whether the method was actually removed.
idbodystringID is the method that was detached, echoed so a caller batching several can tell the answers apart.

Failure carries the platform error shape — see Errors.

Examples

hanzo billing portal methods rm <id>

Billing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page