OneClickAutorenewResponse
Successful response with one OneClickAutorenew
Always 0 in a successful response
0Always null in a successful response
data objectrequired
Resource returned by the operation
one_click_preference object[]required
Active One-Click methods, in the order in which the automatic payments try them until one is authorized
Name of the payment method, in Italian, for example Carta di credito or PayPal
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
Type of the method: VISA, MASTERCARD, MAESTRO, AMERICAN_EXPRESS, PAYPAL, APPLEPAY, GOOGLEPAY, AMAZONPAY or SATISPAY; null when unknown
Number of the card, masked or reduced to the last digits; null for the methods without a card
Expiry of the method: the expiry of the card or, without a card, four years after the activation
Always null: only the paginated lists have a meta
null{
"error": 0,
"message": "string",
"data": {
"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"
}
]
}
}