Skip to content

Reject a bill payment

Request

Security
oauth2ClientCredentials(Required scopes: bills:write)
Path
billIdstringrequired
paymentRefstringrequired
Headers
org_wallet_refstring
business_idstringrequired
Bodyapplication/jsonrequired
reasonstringrequired
Example:"Incorrect invoice details"
curl -i -X POST \
  'https://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/payments/{paymentRef}/reject' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'business_id: string' \
  -H 'org_wallet_ref: string' \
  -d '{
    "reason": "Incorrect invoice details"
  }'

Responses