Passa al contenuto principale

OneClickAutorenew

Automatic renewal with One-Click payment, with the methods it uses

one_click_preference object[]required

Active One-Click methods, in the order in which the automatic payments try them until one is authorized

  • Array [
  • one_click_idintegerrequired
    payment_methodstringrequired

    Name of the payment method, in Italian, for example Carta di credito or PayPal

    descriptionstring | nullnullablerequired

    Description of the method: the name of the payment method followed by the card (brand, last digits and expiry) or the email of the account

    method_typestring | nullnullablerequired

    Type of the method: VISA, MASTERCARD, MAESTRO, AMERICAN_EXPRESS, PAYPAL, APPLEPAY, GOOGLEPAY, AMAZONPAY or SATISPAY; null when unknown

    creditcard_panstring | nullnullablerequired

    Number of the card, masked or reduced to the last digits; null for the methods without a card

    date_expirydatenullablerequired

    Expiry of the method: the expiry of the card or, without a card, four years after the activation

    date_createddate-timerequired
  • ]
  • OneClickAutorenew
    {
    "one_click_preference": [
    {
    "one_click_id": 0,
    "payment_method": "string",
    "description": "string",
    "method_type": "string",
    "creditcard_pan": "string",
    "date_expiry": "2024-07-29",
    "date_created": "2024-07-29T15:51:28.071Z"
    }
    ]
    }