Sign in

Update payment

documented

Update a payment transaction.

PUT /Payment/{id}Paymentsno implementation yet0 runs
No 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.saasu.com/Payment/{{$id}}?FileId={{$file_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "Notes": "{{$notes}}", "PaymentItems": [ {"InvoiceTransactionId": {{$invoice_transaction_id_1}}, "AmountPaid": {{$amount_paid_1}} }, {"InvoiceTransactionId": {{$invoice_transaction_id_2}}, "AmountPaid": {{$amount_paid_2}} } ], "TransactionDate": "{{$transaction_date}}", "TransactionType": "{{$transaction_type}}", "PaymentAccountId": {{$payment_account_id}}, "TotalAmount": {{$total_amount}}, "FeeAmount": {{$fee_amount}}, "Summary": "{{$summary}}", "Reference": "{{$reference}}", "ClearedDate": "{{$cleared_date}}", "Currency": "{{$currency}}", "AutoPopulateFxRate": {{$auto_populate_fx_rate}}, "FxRate": {{$fx_rate}}, "LastUpdatedId": "{{$last_updated_id}}", "RequiresFollowUp": {{$requires_follow_up}} }'