# Create an payment for an order **POST /users/{user_id}/projects/{project_id}/orders/{order_id}/payments** Create an payment for an order. Depending of the payment `amount`, Order status will be updated to one of following type - `paid`, `underpaid` or `overpaid`. ## Servers ## Parameters ### Path parameters - **user_id** (string) User id - **project_id** (string) Project id ### Body: (object) Payment information - **amount** (number(float)) ## Responses ### 201 Payment created and returned #### Body: (object) - **id** (string(uuid)) - **amount** (number(float)) - **created_at** (string(datetime)) - **order_id** (string(uuid)) - **project_id** (string(uuid)) ### 401 Authorization information is missing or invalid. ### 422 Request body has errors or invalid. [Powered by Bump.sh](https://bump.sh)