UNPKG

bc-payments-sdk

Version:

BetterCommerce's Payments NodeJS SDK is a complete solution for storefront clients that integrate payments. `bc-payments-sdk` is a single point interface for storefront clients for interacting with payment gateways.

18 lines (17 loc) 643 B
/** * Class {B2B} includes methods for interacting with the B2B API. * * The B2B API allows retrieval of company details associated with a specific user ID. */ export declare class B2B { /** * Retrieves the company details by user id. * * @param data - The data which contains the user id * @param {headers, cookies} - The headers and cookies to pass to the request * @returns The company details * * API Reference - https://api20.bettercommerce.io/swagger/ui/index#!/B2B/B2BGetCompanyDetailByUserId */ static getCompanyDetailsByUserId(data: any, { headers, cookies }: any): Promise<any>; }