Skip to navigation

Remove a payment method

Detaches a payment method from the company’s billing customer. The path parameter is the payment method’s id from the list, not a checkout’s; usePaymentMethods().remove calls this and reloads the list. The list says whether each method can be removed.

Authentication

X-Schematic-Api-Keystring

A temporary access token in the X-Schematic-Api-Key header. Your server mints it with POST /temporary-access-tokens on the secret-key API for a company, optionally for one of its users, and hands it to the page. The token fixes the company every request reads and writes.

Path parameters

checkout_idstringRequired

checkout_id

Response

OK
dataobject
paramsobject
Input parameters

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error