Payment Methods

Patch Payment Method

Replace the status of an individual payment method.

patch/v4/accounts/{voip_id}/payment-methods/{id}

Request

  • Base URL
    https://api.phone.com
  • Auth
    HTTP bearer

Path parameters

voip_id, integer required
id, integer required

Request body

object required
status, 'onfile' | 'primary' | 'hidden' nullable

Can be 'primary' = primary card used for billing, 'onfile' = card on file, 'hidden' = deleted card

Response

OK

object required

Changes

No recorded changes to this operation across all 1160 revisions of this API.