Create Shop Pay Truemed Session Refund
Authentication
Platform API key for platform server-to-server authentication
Path parameters
Request
The amount refunded, in cents — the authoritative money fact for this refund. refund_line_items, when present, are used only to classify the eligible split (which items and how many units came back); they are never reconciled against this amount.
Optional. When provided, these lines classify the refund’s eligible portion only — which items came back and how many units — and are never a money allocation. Omit them for amount-only refunds. refund_amount_cents remains the sole authoritative money fact.
Response
The idempotency_key submitted with this refund request, echoed back verbatim.
Truemed’s stable ID for this refund (mrt_refund_<id>).