Making requests
As per RESTful design patterns, Coinbase API implements following HTTP verbs:
GET
- Read resourcesPOST
- Create new resourcesPUT
- Modify existing resourcesDELETE
- Remove resources
When making requests, arguments can be passed as params, form data or JSON with correct Content-Type
header.
Most resources are bound to a specific account belonging to the authenticated user. As the user can control which accounts are accessible accounts for both API keys and OAuth applications (coming soon), you should make sure you have the access to right account with GET /v2/accounts/
endpoint. Otherwise a 404
will be returned.