3D Secure handling

This commit is contained in:
jackiettran committed 2026-01-08 12:44:57 -05:00
1 parent 8b9b92d848
commit bcb917c959
14 files changed
+1093 -40

No files matched your search

+5
View File
@@ -246,6 +246,11 @@ export const rentalAPI = {
}) => api.post("/rentals/cost-preview", data),
updatePaymentMethod: (id: string, stripePaymentMethodId: string) =>
api.put(`/rentals/${id}/payment-method`, { stripePaymentMethodId }),
// 3DS authentication endpoints
getPaymentClientSecret: (rentalId: string) =>
api.get(`/rentals/${rentalId}/payment-client-secret`),
completePayment: (rentalId: string) =>
api.post(`/rentals/${rentalId}/complete-payment`),
};
export const messageAPI = {