preference/commonTypes.ts

sdk-nodejs · src/clients/preference/commonTypes.ts · typescript · MIT
payments

* Shared request and response types for the Checkout Pro Preference client. These types model the JSON payloads accepted and returned by the `/checkout/preferences` API endpoints. They describe items, payer information, payment-method restrictions, tracking pixels, back URLs, and

// Source: https://github.com/mercadopago/sdk-nodejs | License: MIT | Copyright 2021 MercadoPago Developers
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Shared request and response types for the Checkout Pro Preference client.
 *
 * These types model the JSON payloads accepted and returned by the
 * `/checkout/preferences` API endpoints. They describe items, payer
 * information, payment-method restrictions, tracking pixels, back URLs,
 * and the full preference response.
 *
 * @module clients/preference/commonTypes
 */

import type { Address, DifferentialPricing, Identification, Items, Shipments, Tax } from '@src/clients/commonTypes';
import { ApiResponse } from '@src/types';

/**
 * Phone number with optional area code, used within payer details.
 */
export dec

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key