payments.upsert
Your billing system’s id. Send it again, with amountRefunded, when money goes back.
Minor units given back. 0 when omitted.
Three letters, such as USD.
Returns the payment, with the CRM’s id.
payments.delete
The CRM’s id, from payments.upsert.
One from a connected Stripe account cannot be deleted here: it belongs to Stripe.