lightrail-client
Version:
A Javascript and Typescript client for Lightrail
16 lines (15 loc) • 488 B
TypeScript
import { LightrailResponse } from "../LightrailResponse";
import { CheckoutSource, Transaction } from "../../model";
import { LineItemBase } from "../../model/Transaction";
export interface CheckoutParams {
id: string;
currency: string;
lineItems?: LineItemBase[];
sources?: CheckoutSource[];
simulate?: boolean;
allowRemainder?: boolean;
pending?: boolean;
metadata?: object;
}
export interface CheckoutResponse extends LightrailResponse<Transaction> {
}