Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Hard-wrap and insert a space
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Feb 9, 2016
1 parent 7cce577 commit 63c74dd
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,20 @@ an object giving a point-in-time snapshot of Gratipay. The
- `http://www.openstreetmap.org/user/%openstreetmap_username`
**/`%username`/payment-instructions.json**
([source](https://github.com/gratipay/gratipay.com/www/~/%username/payment-instructions.json.spt))—*private*—Responds to `GET` with an array of objects representing your current payment instructions. A payment instruction is created when a ~user instructs Gratipay to make voluntary payments to a Team. Pass a `team_slug` with `GET` to fetch payment instruction only for that particular team. `POST` an array of objects containing `team_slug` and `amount` to bulk upsert payment instructions(make sure to set `Content-Type` to `application/json`). The `amount` must be encoded as a string rather than a number. In case the upsert is not successful for any object, there will be an `error` attribute in the response explaining the error along with the `team_slug` to identify the object for which the error occured.
This endpoint requires authentication. Look up your user ID and API key on your [account page](https://gratipay.com/about/me/settings/) and pass them using basic auth.
([source](https://github.com/gratipay/gratipay.com/www/~/%username/payment-instructions.json.spt))—*private*—Responds
to `GET` with an array of objects representing your current payment
instructions. A payment instruction is created when a ~user instructs Gratipay
to make voluntary payments to a Team. Pass a `team_slug` with `GET` to fetch
payment instruction only for that particular team. `POST` an array of objects
containing `team_slug` and `amount` to bulk upsert payment instructions (make
sure to set `Content-Type` to `application/json`). The `amount` must be encoded
as a string rather than a number. In case the upsert is not successful for any
object, there will be an `error` attribute in the response explaining the error
along with the `team_slug` to identify the object for which the error occured.
This endpoint requires authentication. Look up your user ID and API key on your
[account page](https://gratipay.com/about/me/settings/) and pass them using
basic auth.
E.g.:
Request
Expand Down

0 comments on commit 63c74dd

Please sign in to comment.