Reference
//
Add another payment to a...
Security
oauth2ClientCredentials(Required scopes: bills:write)
Budget ObjectId(s) funding this payment. Upstream links the budget to the payment (schema: budget: [ObjectId]).
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/payments
- Productionhttps://api.boyahq.com/v2/bills/{billId}/payments
- Sandboxhttps://sandbox.api.boyahq.com/v2/bills/{billId}/payments
curl -i -X POST \
'https://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/payments' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"amount": 0,
"status": "draft",
"is_tax_payment": true,
"withholding_taxes": [
{}
],
"payment_instruction": {},
"source": "string",
"source_name": "string",
"budget": [
"string"
],
"send_on": "string",
"idempotency_key": "string"
}'