package alipay import ( "context" "github.com/go-pay/gopay" "github.com/go-pay/xlog" "testing" ) func TestFundTransUniTransfer(t *testing.T) { client, err := Init(&InitStruct{ IsProd: true, AlipayAppId: "2021005100673124", AlipayPrivateKey: "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCMK7YWZigquw+Ywyw6QjXFjQqkR4TkIzxMKuB62vcG1ywvnYLLpmWDxZ9YJuxoZuxZTuoZtTnfZkvgHo8ik9rdMAB8CqK03fgnlHJp57Zzstl2+kqvKw3mypM0PYWcSB9M9WxmrWF8vKHcGzMu/IK0t0lT9cjnjTJCZjC4jHKXjqWIdua4MV/9swg5EoWov1ySa0feE1ZmcLPbZWkdum7BEK7gZcOpPXMQybLvqUun0PAo/Vyx+PfZj6zyXhCbhbEXJOaXyN6BtM1wYgN4XwT/RpVVuL/SJyRzH4f7bD0f7HItYnTOBts3GxLr4kIgBE9yeSofZ0K3jn+BT4FQs0SDAgMBAAECggEAC6vkGI9fDtfOn6i4uQ0kTxPEbBNsdFaewbTcRj6PTSmDi19xMaXkVAmTkBKFotfXHESe548Yh4qMDNhekMGA+uPxVmLIU4kcDaelsz3RCmc9BlQm/dj26l25ziLFSlMTECRrZ01OjcVjMOGu7F2oQIX2fCA+H1G5ep/ptKQ1MntUy9darg+cZlppNe0YTDi9MyZ9Nmk6Tx916u2/S3aNKfR/+K0WkVYrX2N+OpsVC++PDgboy28GjX4GgBHm28yYhtf++FCzv11ZFDc+JKWayI/me/b2i8tPDVIzq/0V0mYE6HWczFOs7Sq9BAzbc2S70LF9PXINgcTui4rCz7kOOQKBgQDwCm+rxRomsL4O8kwW5k05051bR9C/jObOauot9+wUE6pZvVPRn7z5Nuz6YPGyrFKQs9f/gS6hmmGOQ+ggOUVLLDk/K6GTDzluP6NTo3OwPXbRj4n2AkwuZ+a0+HyFRO3h96xiceswYBZzOs0fBXfmgTKGQk50imfPVwSyrgX1VQKBgQCVfXVPDjE9DiZ8kWXseC6b+MFtsa7g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MTVtqMLruEj0U+gc+/n0XYkgqgi\naahaTPBVMJdJWINbaNQZlNG/XzQNLjfiCiZllKaPaE1RcZIAVGvYKQ8IL/elJTnU5RzqgjHtT6Iw\n2ETJqImGV6xR+7F2lG3CpdYdhOw2cuqpO9AVxZQkVg2EXCkbuMl2ig6H\n-----END CERTIFICATE-----"), }) if err != nil { xlog.Error(err) return } bm := make(gopay.BodyMap) bm.Set("out_biz_no", "201806300011232301"). Set("trans_amount", "0.01"). Set("biz_scene", "DIRECT_TRANSFER"). Set("product_code", "TRANS_ACCOUNT_NO_PWD"). SetBodyMap("payee_info", func(bm gopay.BodyMap) { bm.Set("identity", "1239118001@qq.com") bm.Set("identity_type", "ALIPAY_LOGON_ID") }) aliRsp, err := client.FundTransUniTransfer(context.Background(), bm) if err != nil { xlog.Error(err) return } xlog.Debug("aliRsp:", *aliRsp) xlog.Debug("aliRsp.Response:", aliRsp.Response) }