Payment Methods

Create Payment Method

Create an individual payment method.

post/v4/accounts/{voip_id}/payment-methods

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/payment-methods
  • Auth: HTTP bearer

Path parameters

voip_idinteger required

Request body

account_idinteger nullable

API Account ID

status'onfile' | 'primary' | 'hidden' nullable

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

nicknamestring nullable

Name of Card

type'cc' required

'cc' for credit card

cc_tokenstring required

Token obtained via POST /v4/credit-cards/provider

Response

Created

object required

Changes

No operation changes recorded.