amount.items and amount.payment_id and amount.| Parameter | Default | Description | Required |
|---|---|---|---|
| payments[] | REQUIRED | ||
| payments[].amount | payment amount | ||
| payments[].items[] | include ids of check items |
curl --location 'https://api.simpra.app/apps/api/v1/checks//check_payments' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json' \
--data '{
"payments": [
{
"amount": 10,
"items": [
"c2cb6f75-88c1-4ab6-99af-a9d6b7822993"
],
"payment_id": "c2cb6f75-88c1-4ab6-99af-a9d6b7822993"
}
]
}'