Update dlocal_service.go
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user