Commit b2c3b7ee authored by Sybren A. Stüvel's avatar Sybren A. Stüvel

Always request more money when querying in test proggy

parent 0e30e227
......@@ -63,16 +63,17 @@ func main() {
logrus.WithField("numAccounts", len(accounts)).Info("enough bank accounts found")
// Request some money
// rfp := bunqapi.RequestInquiry{
// AmountInquired: &bunqapi.Amount{Value: "47.00", Currency: "EUR"},
// Description: "Daddy daddy can I play?",
// AllowBunqme: true,
// CounterpartyAlias: &bunqapi.LabelMonetaryAccount{
// Type: "EMAIL",
// Value: "sugardaddy@bunq.com",
// },
// }
// client.CreateRequestInquiry(accounts[1].ID, rfp)
amount := bunqapi.NewAmount("EUR", 30000)
rfp := bunqapi.RequestInquiry{
AmountInquired: &amount,
Description: "Daddy daddy can I play?",
AllowBunqme: true,
CounterpartyAlias: &bunqapi.LabelMonetaryAccount{
Type: "EMAIL",
Value: "sugardaddy@bunq.com",
},
}
client.CreateRequestInquiry(accounts[1].ID, rfp)
for _, account := range accounts {
logrus.WithFields(account.AliasFields()).WithFields(logrus.Fields{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment