@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
17 lines (16 loc) • 481 B
TypeScript
import Card from "../../entities/card.js";
import { ICardParams } from "../../services/payment-gateway/abstract.js";
declare class CardAddInput implements ICardParams {
userId: string;
token?: string;
expired?: string;
digits?: string;
cvc?: string;
}
/**
* Add new card
*/
declare const add: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, CardAddInput, Record<string, any>, {
entity: Card;
}>;
export { add as default };