UNPKG

bc-elavon-sdk

Version:

BetterCommerce's Elavon NodeJS SDK enables BC client applications to integrate with Elavon merchant API system. It publishes an interface to interact with [Elavon API](https://developer.elavon.com/products/checkout-js/v1/api-reference/) 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; }