UNPKG

pcp-server-nodejs-sdk

Version:

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PAYONE-GmbH_PCP-server-nodeJS-SDK&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [![Coverage](https://sonarcloud.io/api/pr

9 lines (8 loc) 592 B
import { CommunicatorConfiguration } from '../CommunicatorConfiguration.js'; import type { CreatePaymentIntentRequest, CreatePaymentIntentResponse, PaymentIntentResponse } from '../models/index.js'; import { BaseApiClient } from './BaseApiClient.js'; export declare class PaymentIntentApiClient extends BaseApiClient { constructor(config: CommunicatorConfiguration); createPaymentIntent(merchantId: string, payload: CreatePaymentIntentRequest): Promise<CreatePaymentIntentResponse>; getPaymentIntent(merchantId: string, paymentIntentId: string): Promise<PaymentIntentResponse>; }