github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/examples/merchant/products/GetDeviceFingerprintExample.go (about) 1 // This file was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package examples 5 6 import ( 7 "fmt" 8 9 "github.com/Ingenico-ePayments/connect-sdk-go/domain/product" 10 ) 11 12 func getDeviceFingerprintExample() { 13 client, clientErr := getClient() 14 if clientErr != nil { 15 panic(clientErr) 16 } 17 defer client.Close() 18 19 var body product.DeviceFingerprintRequest 20 21 response, err := client.Merchant("merchantId").Products().DeviceFingerprint(1, body, nil) 22 23 fmt.Println(response, err) 24 }