bchavez / Coinbase

:moneybag: A .NET/C# implementation of the Coinbase API.
https://developers.coinbase.com/api/v2
MIT License
170 stars 92 forks source link

Fixed: optional amount when place buy #58

Closed Pethical closed 5 years ago

bchavez commented 5 years ago

Hi there,

Thank you for the PR!

Do you have a link to any documentation that allows the amount field to be optional? If not, do you have any JSON payloads that you can post that shows the successful request / response bodies?

Thanks, Brian

Pethical commented 5 years ago

Hi, Yes.

https://developers.coinbase.com/api/v2#place-buy-order

You can specify amount or total, but not both.

Regards, Peter

bchavez commented 5 years ago

Cool. Thank you, I'll have a release for you shortly.

bchavez commented 5 years ago

@Pethical , pushed Coinbase v5.1.2 with your fix here: https://www.nuget.org/packages/Coinbase/5.1.2

Thanks again!