API Documentation
POST /persons/:id/pay-send
Sends a payment to the user.
Headers
| KEY |
VALUE |
| Content-Type |
application/json |
| Authorization |
Bearer {token} |
Request
| KEY |
REQUIRED |
COMMENT |
| amount |
Yes |
float. Use 5.0, instead of 5. |
Response
No Response.
Status Code
| CODE |
COMMENT |
| 200 |
Money sent. |
| 400 |
Wrong payload. |
| 401 |
Permission denied for this person. |
| 403 |
Error occurred, could not send money. |