1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mc, _ := moov.NewClient()
// your partner accountID
var accountID string
mc.TransferOptions(ctx, accountID, moov.CreateTransferOptions{
Source: moov.CreateTransferOptionsTarget{
AccountID: "UUID",
},
Destination: moov.CreateTransferOptionsTarget{
AccountID: "UUID",
},
Amount: moov.Amount{
Currency: "USD",
Value: 1,
},
})
|