calculatePaymentCashback
Calculate cashback for a payment transaction using customer and payment details. Provide transaction amounts and customer info to determine the cashback amount.
Instructions
Create cashback
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| mobile | No | ||
| merchant | No | Details about the specifi | |
| totalTax | No | ||
| totalPaid | No | ||
| customerId | No | ||
| totalAmount | No | ||
| totalDiscount | No | ||
| paymentDetails | No | An array containing detai | |
| totalProcessingFees | No |