UNPKG

paypal-custom-sdk

Version:

a minimalistic paypal sdk for custom integrations

10 lines (9 loc) 498 B
import { RefundCapturedPaymentRequest } from '../Entities/PaypalRequests'; import { RefundResponse } from '../Entities/PaypalResponses'; export interface PaymentServices { voidAuthorizedPayment: (authorizationId: string) => Promise<void>; refundCapturedPayment: (captureId: string, body?: RefundCapturedPaymentRequest) => Promise<RefundResponse>; getRefundDetails: (refundId: string) => Promise<RefundResponse>; } declare const _default: () => PaymentServices; export default _default;