cURL
curl --request DELETE \ --url https://api.decodahealth.com/user/patient/payment-methods/{payment_method_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
true
Archive a payment method by setting is_archived to true.
The tenant you are making this request on behalf of
Your api key
ID of the patient who owns the payment method
Successful Response
The response is of type boolean.
boolean