Reference
//
Reject a bill payment
Security
oauth2ClientCredentials(Required scopes: bills:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/payments/{paymentRef}/reject
- Productionhttps://api.boyahq.com/v2/bills/{billId}/payments/{paymentRef}/reject
- Sandboxhttps://sandbox.api.boyahq.com/v2/bills/{billId}/payments/{paymentRef}/reject
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"
}'