Closed noff closed 4 years ago
@noff hello and sorry for the late response. The error does not come from the sdk or ruby. You could read the documentation about Users here: https://docs.mangopay.com/endpoints/v2.01/users#e253_the-user-object
This would help. It is normal that you get that message as you are requesting the natural user with id 1 with your request. Basically you are doing a GET, not a POST.
A second thing, you can create either a Legal User, or a Natural User.
The call you should make is
po = MangoPay::NaturalUser.create data
Hello.
I'm trying to create a user using Ruby SDK.
Here is an example of code:
It raises the error:
Log in mangopay.log file:
I'm using sandbox account.
Mangopay gem version:
mangopay (3.0.33)
Ruby version2.3.3