Endpoint
Overview
Use this endpoint to refund the split portion of a payment. This reverses the split amount that was distributed to a secondary merchant account.This endpoint only refunds the split amount, not the entire transaction. To refund the full payment, use both this endpoint and the regular refund endpoint.
Authentication
| Header | Value | Required |
|---|---|---|
x-api-key | Your API key | Yes |
Authorization | Bearer {appToken} | Yes |
appId | Your application ID | Yes |
Content-Type | application/json | Yes |
Request Body
Must be
"payments"Must be
"refundSplit"The payment ID of the original split transaction
Transaction details
Example Request
Response
Code Examples
Important Notes
Split Only: This endpoint refunds only the split amount. To refund the entire transaction, you must also refund the primary payment separately.
Full Refund Process: For complete refunds of split payments: 1) Refund the split using this endpoint, 2) Refund the primary payment using the regular refund endpoint.
Next Steps
Refund Primary Payment
Refund the primary portion of a split payment

