Permalink
Browse files

Merge pull request #1313 from opencollective/fix-url-collective-get-t…

…ransactions-doc

Fix url on Get transactions from collective endpoint
  • Loading branch information...
marcogbarcellos committed Sep 18, 2018
2 parents 56425a3 + 66d318f commit a009c7caba58d0fe078b05b0a263732685ddd166
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/api/collectives.md
View
@@ -163,17 +163,17 @@ Return All Transactions of a collective given its slug.
### Curl command
```sh
curl "http://localhost:3060/v1/collectives/opencollective-company/transactions" \
curl "https://api.opencollective.com/v1/collectives/opencollective-company/transactions" \
-H "Content-Type: application/json"\
-H "Client-Id: ${ClientId}"
```
PS: For more details on how to have a Client ID/API Key, get in touch.
E.g.
- Including Virtual Card transactions(transactions that used a virtual card that was issued by the collective: http://opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY&includeVirtualCards=true
- NOT Including Virtual Cards: http://opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY
- Using `limit=20`, `type=DEBIT` and `offset=5`: http://opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY&includeVirtualCards=true&limit=20&type=DEBIT&offset=5
- Including Virtual Card transactions(transactions that used a virtual card that was issued by the collective: https://api.opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY&includeVirtualCards=true
- NOT Including Virtual Cards: https://api.opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY
- Using `limit=20`, `type=DEBIT` and `offset=5`: https://api.opencollective.com/v1/collectives/opencollectiveinc/transactions?api_key=YOUR_API_KEY&includeVirtualCards=true&limit=20&type=DEBIT&offset=5
### Output

0 comments on commit a009c7c

Please sign in to comment.