Initiate a partial refund for a completed transaction using the Partial Refund API. This endpoint allows you to seamlessly return funds to the shopper while keeping records updated for reconciliation and reporting purposes.
Endpoint
Sandbox
POST https://connect-sandbox.paylaterapp.com/api/paylater/merchant-portal/web-checkout/refund/partial
Production
POST https://connect.paylaterapp.com/api/paylater/merchant-portal/web-checkout/refund/partial
Headers
x-api-key: Your API key (Required)
Query Parameters
Parameter
Type
Required
Description
merchantId
String
β
Your merchant ID
transactionReference
String
β
PayLater Order ID
Request Body
amount
String
β
Partial amount. Should be less than total order value
Sample cURL
Success Response
Error Responses
For questions, support, or sandbox access β reach out to your PayLater account manager.