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.
23 lines (22 loc) • 1.22 kB
TypeScript
import { ICertificate } from "../../base/contracts/ICertificate";
export declare class ApplePayCertificate implements ICertificate {
/**
* Generate a certificate signing request. This will allow you to generate a certificate.
*
* API Reference - https://api-reference.checkout.com/#operation/generateApplePaySigningRequest
*
* @returns The result of the request. If the request was successful the result will contain the certificate signing request.
* If the request failed, it will contain an error message.
*/
generateCSR(): Promise<any>;
/**
* Upload an Apple Pay payment processing certificate. This method allows you to start processing payments via Apple Pay.
*
* API Reference - https://api-reference.checkout.com/#operation/uploadApplePayCertificate
*
* @param data {any} The certificate data to upload.
* @returns The result of the upload request. If the request was successful, the result will contain the details of the uploaded certificate.
* If the request failed, it will return an object containing an error message.
*/
uploadApplePayCertificate(data: any): Promise<any>;
}