Delete payment
documentedDelete a payment.
DELETE /Payments/{PaymentID}Paymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/Payments/{{$PaymentID}}" \
-X DELETE \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Xero-Tenant-Id: {{$XERO_TENANT_ID}}" \
-H "x-idempotency-key: {{$idempotency_key}}" \
-d '{"Status": "DELETED"}'