feat(dashboard,types,js-sdk,payment): ability to refund payment in order page (#8385)

* feat(dashboard,types,js-sdk,payment): ability to refund payment in order page

* chore: use confirmation variant for capture payment

* chore: change refund design accords to figma

* chore: move to js-sdk + currency input
This commit is contained in:
Riqwan Thamir
2024-08-01 19:13:41 +02:00
committed by GitHub
parent 6efdba1967
commit 7ae1d80380
14 changed files with 308 additions and 15 deletions
@@ -1,5 +1,5 @@
import { getRequest } from "./common"
import { PaymentProvidersListRes } from "../../types/api-responses"
import { getRequest } from "./common"
async function listPaymentProviders(query?: Record<string, any>) {
return getRequest<PaymentProvidersListRes, Record<string, any>>(