Skip to content

Refund Payment

POST /payments/{id}/refunds command bearer

Initiates a full or partial refund against a captured payment, creating a Refund record.


Overview

ID refund-payment-api
Method POST
Path /payments/{id}/refunds
Classification command
Domain payment
Capability payment-processing
Service refund-payment
Application payment-hub — Payment Hub
Auth bearer

Request Body

Business Object return
Description Return request and execution record for merchandise or order value moving back from a customer.
Classification aggregate-root
Lifecycle requested → approved → in-transit → received → inspected → refunded → exchanged → rejected

Response

Business Object refund
Description Payment reversal or credit associated with a return, exchange, or payment correction.
Lifecycle requested → pending → partial → completed → failed → cancelled → converted-to-credit

Events Emitted

Event Classification Object Description
payment-refunded transitioned payment A refund was issued against a previously captured payment.
refund-created created refund A Refund has been initiated against a captured payment as part of return processing.

Scenarios using payment-processing

Scenario Description
Buy Online, Pick Up In Store Customer browses and purchases online, then collects the order from a physical store. The canonical
Buy Online, Return In Store Customer purchased online (any channel) and returns the item at a physical store. The store processe
Unified Omnichannel Checkout Customer completes a standard commerce checkout journey from basket through pricing, promotions, pay
Clienteling Sale A store associate uses a clienteling application to identify a known customer, review their purchase
Endless Aisle Store associate helps a customer order an item that is not physically stocked in the current store b
Exchange Anywhere Customer exchanges an item purchased in any channel at any supported touchpoint. The original item i
Loss Prevention Case Handling A checkout or item-identification anomaly is captured as evidence, triaged under an approved interve
Reserve and Collect Customer reserves stock online for in-store collection without paying at the time of reservation. Th
Scan and Go Customer scans items using a mobile app while shopping, receives promotions and loyalty benefits in
Self-Checkout Customer scans and bags items at a self-checkout kiosk, receives applicable promotions, settles paym
Service and Repair Management A customer or associate creates a repair, installation, or maintenance commitment linked to the orig
Ship From Store An online order is fulfilled by shipping the goods directly from a physical store rather than a cent
Ship To Store Customer places an online order for collection at a chosen store while stock is sourced from a wareh
Store Day Open A physical store executes its opening routine before serving customers for the day. The scenario cov
Subscription Renewal A recurring subscription is renewed either automatically or after a customer reminder and confirmati
Unified Return Customer returns an item regardless of the original purchase channel. The return may be initiated on
Voucher Redemption Customer redeems a voucher or gift card during checkout in store or online. The flow covers voucher
API Method Path Type
Authorize Payment POST /payments/authorizations command
Capture Payment POST /payments/authorizations/{id}/capture action
Void Payment POST /payments/authorizations/{id}/void action
Add Payment POST /transactions/{id}/payment command