Update dlocal_service.go

This commit is contained in:
lizandrogd
2025-06-04 21:45:18 -05:00
parent 65d6361ea7
commit c96bc22368
+7 -7
View File
@@ -80,13 +80,13 @@ type PlanUpdated struct {
} }
type PagoRequest struct { type PagoRequest struct {
Currency string `json:"currency"` Currency string `json:"currency"`
Amount int `json:"amount"` Amount float64 `json:"amount"`
OrderID int `json:"order_id"` OrderID int `json:"order_id"`
Description string `json:"description"` Description string `json:"description"`
SuccessURL string `json:"success_url"` SuccessURL string `json:"success_url"`
BackURL string `json:"back_url"` BackURL string `json:"back_url"`
NotificationURL string `json:"notification_url"` NotificationURL string `json:"notification_url"`
} }
// Llama al endpoint /v1/me de DLocal usando la configuración // Llama al endpoint /v1/me de DLocal usando la configuración