Skip to main content

Set the payment method

POST 

/api/v3/package/:package_id/_action/setPayMethod

Valid values for specifying paymethod:

  • inv - Generate an invoice for the subscription but do not take an automatic payment
  • crd - Credit Card
  • ach - ACH/eCheck
  • tok - Tokenized payment method

Additionally:

  • If you specify crd you must specify the creditcard_id
  • If you specify ach you must specify the ach_id
  • If you specify tok you must specify the tokenized_id

Request

Body

    paymethod string

    Possible values: [inv, crd, ach, tok]

    creditcard_id integer
    ach_id integer
    tokenized_id integer

Responses

Action completed successfully

Schema

    code integer
    status string
    message stringnullable
    details objectnullable
    response boolean
Loading...