3D Secure handling
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user