UNPKG

bc-checkout-sdk

Version:

BetterCommerce's Checkout NodeJS SDK enables BC client applications to integrate with Checkout merchant API system. It publishes an interface to interact with [Checkout API](https://api-reference.checkout.com/#operation/getPaymentDetails/) endpoints.

25 lines (24 loc) 799 B
import { IAddress } from "./IAddress"; import { ICustomer } from "./ICustomer"; import { IPaymentSource } from "./IPaymentSource"; import { IPhoneNumber } from "./IPhoneNumber"; export interface IPaymentRequest { readonly source: IPaymentSource; readonly amount: number; readonly currency: string; readonly payment_type: string; readonly reference: string; readonly description: string; readonly capture: boolean; readonly capture_on: Date | string; readonly customer?: ICustomer; readonly shipping: { address: IAddress; phone: IPhoneNumber; }; readonly processing_channel_id: string; readonly metadata: Object; readonly success_url: string; readonly failure_url: string; readonly "3ds": any; }