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
  • URL: https://api.phone.com/v4/accounts/{voip_id}/payment-methods/{id}
  • Auth: HTTP bearer

Path parameters

voip_idinteger required
idinteger required

Request body

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 operation changes recorded.