import { DaffPaymentRequest } from '@daffodil/payment'
A payment request that can be used to generate a token or additional data for use with an ecommerce platform.
interface DaffPaymentRequest<T = unknown> {
kind: string
data: T
}
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. |