Permalink
Browse files

fix url on Get transactions from collective endpoint

  • Loading branch information...
marcogbarcellos committed Sep 18, 2018
1 parent 56425a3 commit 66d318febf57e65d87a5b8377fea5ff917abb0bd
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 66d318f

Please sign in to comment.