# Reject a customer's payment

`POST /v1/platforms/{platformOrgId}/customers/{customerOrgId}/payments/{paymentId}/reject`

**Reject a payment** (Act as a platform). Rejects a payment that is waiting for approval. The reserved amount is released.

Prerequisite: Permission `platform:customer_payments_approve`.

Acts on a linked customer with the platform's own key or team (platform:customer_payments_approve). Same as POST /v1/orgs/{orgId}/payments/{paymentId}/reject.

Requires: organization platform; permission platform:customer_payments_approve

## Request body

- `comment` (string): Note left with a decision.

```json
{
  "comment": "comment"
}
```

Events: payment.updated

Errors: already_decided, not_pending_approval

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/platforms/$PLATFORM_ORG_ID/customers/$CUSTOMER_ORG_ID/payments/$PAYMENT_ID/reject" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "comment"
}'
```
