mercadopago
Version:
Mercadopago SDK for Node.js
39 lines (38 loc) • 1.11 kB
TypeScript
import type { ApiResponse, Options } from '../../types';
import type { CustomerCardCardholder } from '../commonTypes';
export declare interface CustomerCardResponse extends ApiResponse {
id?: string;
customer_id?: string;
expiration_month?: number;
expiration_year?: number;
first_six_digits?: string;
last_four_digits?: string;
payment_method?: CustomerCardPaymentMethod;
security_code?: CustomerCardSecurityCode;
issuer?: CustomerCardIssuer;
cardholder?: CustomerCardCardholder;
date_created?: string;
date_last_updated?: string;
user_id?: string;
live_mode?: boolean;
}
export declare type CustomerCardPaymentMethod = {
id?: string;
name?: string;
payment_type_id?: string;
thumbnail?: string;
secure_thumbnail?: string;
};
export declare type CustomerCardSecurityCode = {
length?: number;
card_location?: string;
};
export declare type CustomerCardIssuer = {
id?: number;
name?: string;
};
export declare type CustomerCardGetRemoveData = {
customerId: string;
cardId: string;
requestOptions?: Options;
};