mercadopago
Version:
Mercadopago SDK for Node.js
17 lines (16 loc) • 508 B
TypeScript
/**
* Implementation of the customer creation operation.
*
* Sends a POST request to `/v1/customers` to register a new customer
* in MercadoPago.
*
* @module clients/customer/create
*/
import type { CustomerCreateClient } from './types';
import type { CustomerResponse } from '../commonTypes';
/**
* Create a new customer via the MercadoPago API.
*
* @returns The newly created customer record.
*/
export default function create({ body, config }: CustomerCreateClient): Promise<CustomerResponse>;