From c96bc22368588fc147eb8153dd0545cf1dc84e08 Mon Sep 17 00:00:00 2001 From: lizandrogd <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 4 Jun 2025 21:45:18 -0500 Subject: [PATCH] Update dlocal_service.go --- pkg/services/dlocal_service.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/services/dlocal_service.go b/pkg/services/dlocal_service.go index 843fa4b..e5e328f 100644 --- a/pkg/services/dlocal_service.go +++ b/pkg/services/dlocal_service.go @@ -80,13 +80,13 @@ type PlanUpdated struct { } type PagoRequest struct { - Currency string `json:"currency"` - Amount int `json:"amount"` - OrderID int `json:"order_id"` - Description string `json:"description"` - SuccessURL string `json:"success_url"` - BackURL string `json:"back_url"` - NotificationURL string `json:"notification_url"` + Currency string `json:"currency"` + Amount float64 `json:"amount"` + OrderID int `json:"order_id"` + Description string `json:"description"` + SuccessURL string `json:"success_url"` + BackURL string `json:"back_url"` + NotificationURL string `json:"notification_url"` } // Llama al endpoint /v1/me de DLocal usando la configuración