Use Custom Requests for Unimplemented Interfaces
masterIf the SDK does not have a built-in method for a specific Alipay interface, you can use alipay.NewPayload combined with alipay.Client methods to perform the request.
Depending on your goal, use one of the following three methods:
Request(payload, &result): To make a network request to Alipay (e.g., for querying transaction status).BuildURL(payload): To generate a URL for web-based payments (e.g.,alipay.trade.page.pay).EncodeParam(payload): To generate signed parameters (e.g., for App payments likealipay.trade.app.pay).