DaffPaymentResponse
A payment response that can be sent to an ecommerce platform to set payment information for the provided method.
import { DaffPaymentResponse } from '@daffodil/payment'
interface DaffPaymentResponse<T = unknown> {
method: string
data: T
}
Properties
Name | Type | Description |
---|---|---|
method | string | The payment method. This can be specific to the platform in use and should not be considered a constant. |
data | T | The payment data that represents validated payment information. |