Refund

Overview

The refund method returns funds to a customer's payment method after a successful payment.

Business Use Case: A customer returns an item. Process a refund to return their money.

Purpose

Scenario
Benefit

Product returns

Refund for returned merchandise

Service cancellation

Refund for unrendered services

Request Fields

Field
Type
Required
Description

merchantRefundId

string

Yes

Your unique refund reference

connectorTransactionId

string

Yes

The connector's transaction ID

refundAmount

Money

No

Amount to refund (omit for full)

reason

string

No

Reason for refund

Response Fields

Field
Type
Description

merchantRefundId

string

Your reference

connectorRefundId

string

Connector's refund ID

status

RefundStatus

PENDING, SUCCEEDED, FAILED

refundAmount

Money

Refund amount

statusCode

int

HTTP status code

Example

SDK Setup

Request

Response

Next Steps

Last updated

Was this helpful?