Passa al contenuto principale

OneClickPaginatedListResponse

Successful response with a page of OneClick

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items of the page: an empty list beyond the last page

  • 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
  • ]
  • meta objectrequired

    Pagination of the list

    totalintegerrequired

    Number of items in the whole list

    countintegerrequired

    Number of items in this page: 0 beyond the last page

    pagesintegerrequired

    Number of pages of the list

    pageintegerrequired

    Number of this page, starting from 1

    per_pageintegerrequired

    Maximum number of items in a page

    OneClickPaginatedListResponse
    {
    "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"
    }
    ],
    "meta": {
    "total": 0,
    "count": 0,
    "pages": 0,
    "page": 0,
    "per_page": 0
    }
    }