@sumup/sdk
Version:
The official TypeScript SDK for the SumUp API
34 lines • 984 B
TypeScript
import type { CardType } from "./card-type";
/**
* Card
*
* __Required when payment type is `card`.__ Details of the payment card.
*/
export type Card = {
/**
* Name of the cardholder as it appears on the payment card.
*/
name: string;
/**
* Number of the payment card (without spaces).
*/
number: string;
/**
* Year from the expiration time of the payment card. Accepted formats are `YY` and `YYYY`.
*/
expiry_year: string;
/**
* Month from the expiration time of the payment card. Accepted format is `MM`.
*/
expiry_month: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
/**
* Three or four-digit card verification value (security code) of the payment card.
*/
cvv: string;
/**
* Required five-digit ZIP code. Applicable only to merchant users in the USA.
*/
zip_code?: string;
type: CardType;
};
//# sourceMappingURL=card.d.ts.map