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. Independent of the line values: a partial-money refund against returned lines worth more is legal.
The lines returned in this refund — this refund’s own return lines only, never repeated from prior refunds and never order-level context. Omit or send empty for refunds with no returned units (shipping, adjustments, goodwill).
Response
The idempotency_key submitted with this refund request, echoed back verbatim.
Truemed’s stable ID for this refund (mrt_refund_<id>).