GitHub

DaffPaymentRequest

A payment request that can be used to generate a token or additional data for use with an ecommerce platform.

import { DaffPaymentRequest } from '@daffodil/payment'
interface DaffPaymentRequest<T = unknown> {
  kind: string
  data: T
}

Properties

Name Type Description
kind string

The payment kind. A constant identifying the payment processor and payment method.

data T

The payment data that will be used to generate a payment token or additional data.