package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://checkout.dintero.com/v1/sessions/{session_id}/redirect/{redirect_ref}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}