| Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | User Not Found. |
| 422 | Unprocessable request. |
POST /api/users/59c241daa83dc1219d4f29ea/offline_payments
{
"offline_payment": {}
}
401
| Param name | Description |
|---|---|
|
user_id optional |
User ID Validations:
|
|
offline_payment required |
Offline payment parameter container Validations:
|
|
offline_payment[amount] required |
Amount Validations:
|
|
offline_payment[currency] required |
Amount Currency Validations:
|
|
offline_payment[converted] required |
Payment Validations:
|
|
notes optional |
Payment Notes Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | User Not Found |
| Param name | Description |
|---|---|
|
id required |
User’s ID. Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbidden |
| Param name | Description |
|---|---|
|
user_id required |
User ID Validations:
|
|
reward_points required |
How many RP will be add or deduct Validations:
|
|
reward_points_action required |
Add or Deduct Validations:
|
|
note required |
Note for manual action Validations:
|