Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 5.0!

paymentmethod object

Properties of a paymentmethod object.

{
  "id": "guid",
  /* PureTokenBased=64, Creditcard=8, ManualInvoice=0, FI=128 */
  "type": int,
  "makedefault": boolean,
  "puretoken": {
    /* The token you receive from the Payment Gateway */
    "token": string,
    /* oneOf: paylike, quickpay, stripe, adyen, altapay, epay, netaxept */
    "paymentgateway": string,
  },
  "createddate" : "datetime",
  "modifieddate" : "datetime"
}