I found an error 'Cannot add an account with no default payment
method." when creating new account using the API
AccountService.addAccount() in sandox: .
Here is my code :
Dim a As Account = New Account()
a.name = "new account 1"
a.marketID = "US"
Try
Dim addedA As Account = _accountService.addAccount(a)
Console.WriteLine("Add account id = finished.",
addedA.ID)
Catch ex As Exception
Console.WriteLine("Exception: " & ex.ToString)
End Try
Can we add account into sandbox? How to set the payment method in
sanhox?
.