feat: Add support for idempotency key in payments (#11494)

This commit is contained in:
Stevche Radevski authored and GitHub committed 2025-02-17 18:08:19 +01:00
1 parent 0cbe71597e
commit 91d3332f9e
3 files changed
+87 -29

No files matched your search

@@ -76,6 +76,11 @@ export type PaymentProviderContext = {
* The customer information from Medusa.
*/
customer?: PaymentCustomerDTO
/**
* Idempotency key for the request, if the payment provider supports it. It will be ignored otherwise.
*/
idempotency_key?: string
}
export type PaymentProviderInput = {