paymentmethod object

Properties of a paymentmethod object.

{
  /* set by upodi */
  "id": "guid",
  /* ManualInvoice=0, Creditcard=8, BankTransferSepa = 32, PureTokenBased=64,  FI=128,  
  EAN = 512, BetalingsService = 1020, LeverandorService = 1024, MobilePayInvoice = 1152, 
  MobilePaySubscriptions = 1168, RF = 1200  */
  "paymentmethodtype": "integer",
  "fullname": "string",
  /* Issuer of the Payment Method (fx Visa) */
  "issuer": "string",
  "customerid": "guid",
  "customer": "customer object",
  /* custom key, example a remote id */
  "refkey": "string", 
  /* When the type is 8=Creditcard */
  "expirydate": "datetime",
  /* Normal = 0, 
        Active = 1,
        Pending = 2,
        Expired = 3,
        Cancelled = 50,
        PendingResponse = 70,
        Failed = 1024 */
  "status" : "integer",
  /* value being incremented everytime a new payment method is added as default 			making it useful to track which payment method is default now and which 				were default historically */
  "priority": "integer",
  "paymentproviderid": "guid",
  /* true if the paymentmethod is of an online type (Credit card, Token) */
  "isonline": "boolean",
  /* The paymentdata relating to the payment method */
  "paymentdata": {
    /* The token you receive from the Payment Gateway */
    "token": "string",
    /* oneOf: paylike, quickpay, stripe, adyen, altapay, epay, netaxept */
    "paymentgateway": "string",
  },
  /* set by upodi */
  "createddate" : "datetime",
  /* set by upodi */
  "modifieddate" : "datetime"
}