OneClickResponse
Successful response with one OneClick
Always 0 in a successful response
0Always null in a successful response
data objectrequired
One-Click payment method: a card or an account saved by the customer, used for One-Click payments and automatic renewals
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_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"
}
}