New Features
Section titled “New Features”- Added Products to TapToPay.startPayment method.
- Enabled periodic monitoring and attestation.
- Now SDK uses Google Trusted Time API.
Thank you, we'll let you know when we update our APIs.
There was an issue subscribe to the news, please try again later.
This email seems to be invalid, please use a valid email address.
skipSuccessScreen parameter."mitigated": true, it is excluded from the threat list that is used to determine whether the COTS is attested.We are happy to announce the beta release of our Go SDK. The SDK is maintained under sumup/sumup-go with its acompanying documentation at pkg.go.dev.
The Golang SDK provides easy access to SumUp APIs:
package main
import ( "context" "log" "os"
"github.com/sumup/sumup-go")
func main() { ctx := context.Background() client := sumup.NewClient().WithAuth(os.Getenv("SUMUP_KEY"))
checkout, err := client.Checkouts.Create(ctx, sumup.CreateCheckoutBody{ Amount: 123, CheckoutReference: "TX000001", Currency: "EUR", MerchantCode: "MK0001", }) if err != nil { log.Printf("[ERROR] create checkout: %v", err) return }
log.Printf("[INFO] checkout created: id=%q, amount=%v, currency=%q", *checkout.Id, *checkout.Amount, string(*checkout.Currency))
checkoutSuccess, err := client.Checkouts.Process(ctx, *checkout.Id, sumup.ProcessCheckoutBody{ Card: &sumup.Card{ Cvv: "123", ExpiryMonth: "12", ExpiryYear: "2023", Name: "Boaty McBoatface", Number: "4200000000000042", }, PaymentType: sumup.ProcessCheckoutBodyPaymentTypeCard, }) if err != nil { log.Printf("[ERROR] process checkout: %v", err) return }
log.Printf("[INFO] checkout processed: id=%q, transaction_id=%q", *checkoutSuccess.Id, string(*(*checkoutSuccess.Transactions)[0].Id))}See the repository for more examples and don't hesitate to let us know if you have any questions.
Android SDK 4.3.0 has been released.
Solo USB (Beta)
The Solo card reader now supports connecting and transacting over USB cable. The minimum required Solo software version that supports the USB mode is 3.3.17.2.
If this version (3.3.17.2) is not yet available on your Solo when connected via Bluetooth, you can switch it to standalone mode (Menu -> Connection -> WiFi), login directly on the Solo, and update it to the latest version.
Solo USB is under beta phase which means that the feature still requires some optimization to ensure full stability.
Known limitations: currently, if the USB cable is unplugged, the USB permission on the mobile device will need to be regranted. As of now, Solo is not able to wake up automatically from sleep mode. A connection needs to be reestablished from
Removed:
New features:
Improvements:
Bugs fixed: