Refunds
Use the refunds endpoint directly when you need a partial refund on a payment with a surcharge. Refunds apply to card payments only; ACH transfers can be canceled before they originate.
Refund rules
A refund immediately debits the destination wallet balance of the original transfer and returns either full or partial funds to the source card used in the transaction. Once a refund is initiated, Moov submits the credit information to the customer's card issuer. Typically, customers should immediately see a pending credit to their card that posts within 5-7 business days, although the actual timing may vary by bank.
- Only one refund can be initiated at a time per transfer
- You cannot refund more than the original transfer amount
- Refunds cannot be canceled after they are issued
- To avoid a potential double charge, do not attempt to refund a payment that has been disputed by the cardholder
- If the refund fails, you are able to initiate the refund again, for the same transfer
Create a refund
Full refund
Call the refunds POST endpoint without a request body.
curl -X POST "https://api.moov.io/accounts/{accountID}/transfers/{transferID}/refunds" \
-H "Authorization: Bearer {token}" \
-H "x-idempotency-key: UUID" \
-H "X-Wait-For: rail-response" \
-H "x-moov-version: v2026.07.00"
mc, _ := moov.NewClient()
var accountID string
var transferID string
mc.RefundTransfer(ctx, accountID, transferID, moov.CreateRefund{
Amount: 1700,
})
const result = await moov.transfers.initiateRefund({
xIdempotencyKey: "8d9af6b8-67e1-4efa-8188-68039f34097d",
accountID: "cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2",
transferID: "04022119-95be-4ef4-9dd4-b3782f6aa7b9",
createRefund: {
amountDetails: {
surcharge: {
currency: "USD",
valueDecimal: "12.987654321",
},
},
},
});
res = moov.transfers.initiate_refund(x_idempotency_key="8d9af6b8-67e1-4efa-8188-68039f34097d", account_id="cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2", transfer_id="04022119-95be-4ef4-9dd4-b3782f6aa7b9", amount_details={
"surcharge": {
"currency": "USD",
"value_decimal": "12.987654321",
},
})
req = Models::Operations::InitiateRefundRequest.new(
x_idempotency_key: '8d9af6b8-67e1-4efa-8188-68039f34097d',
account_id: 'cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2',
transfer_id: '04022119-95be-4ef4-9dd4-b3782f6aa7b9',
create_refund: Models::Components::CreateRefund.new(
amount_details: Models::Components::RefundAmountDetails.new(
surcharge: Models::Components::AmountDecimal.new(
currency: 'USD',
value_decimal: '12.987654321'
)
)
)
)
res = s.transfers.initiate_refund(request: req)
InitiateRefundRequest req = InitiateRefundRequest.builder()
.xIdempotencyKey("8d9af6b8-67e1-4efa-8188-68039f34097d")
.accountID("cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2")
.transferID("04022119-95be-4ef4-9dd4-b3782f6aa7b9")
.createRefund(CreateRefund.builder()
.amountDetails(RefundAmountDetails.builder()
.surcharge(AmountDecimal.builder()
.currency("USD")
.valueDecimal("12.987654321")
.build())
.build())
.build())
.build();
InitiateRefundResponse res = sdk.transfers().initiateRefund()
.request(req)
.call();
InitiateRefundRequest req = new InitiateRefundRequest() {
XIdempotencyKey = "8d9af6b8-67e1-4efa-8188-68039f34097d",
AccountID = "cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2",
TransferID = "04022119-95be-4ef4-9dd4-b3782f6aa7b9",
Body = new CreateRefund() {
AmountDetails = new RefundAmountDetails() {
Surcharge = new AmountDecimal() {
Currency = "USD",
ValueDecimal = "12.987654321",
},
},
},
};
var res = await sdk.Transfers.InitiateRefundAsync(req);
$request = new Operations\InitiateRefundRequest(
xIdempotencyKey: '8d9af6b8-67e1-4efa-8188-68039f34097d',
accountID: 'cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2',
transferID: '04022119-95be-4ef4-9dd4-b3782f6aa7b9',
createRefund: new Components\CreateRefund(
amountDetails: new Components\RefundAmountDetails(
surcharge: new Components\AmountDecimal(
currency: 'USD',
valueDecimal: '12.987654321',
),
),
),
);
$response = $sdk->transfers->initiateRefund(
request: $request
);
Partial refund
Include an amount in the request body.
curl -X POST "https://api.moov.io/accounts/{accountID}/transfers/{transferID}/refunds" \
-H "Authorization: Bearer {token}" \
-H "x-idempotency-key: UUID" \
-H "X-Wait-For: rail-response" \
-H "x-moov-version: v2026.07.00" \
--data-raw '{
"amount": 1000
}'
const result = await moov.transfers.initiateRefund({
xIdempotencyKey: "8d9af6b8-67e1-4efa-8188-68039f34097d",
accountID: "cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2",
transferID: "04022119-95be-4ef4-9dd4-b3782f6aa7b9",
createRefund: {
amountDetails: {
surcharge: {
currency: "USD",
valueDecimal: "12.987654321",
},
},
},
});
res = moov.transfers.initiate_refund(x_idempotency_key="8d9af6b8-67e1-4efa-8188-68039f34097d", account_id="cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2", transfer_id="04022119-95be-4ef4-9dd4-b3782f6aa7b9", amount_details={
"surcharge": {
"currency": "USD",
"value_decimal": "12.987654321",
},
})
req = Models::Operations::InitiateRefundRequest.new(
x_idempotency_key: '8d9af6b8-67e1-4efa-8188-68039f34097d',
account_id: 'cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2',
transfer_id: '04022119-95be-4ef4-9dd4-b3782f6aa7b9',
create_refund: Models::Components::CreateRefund.new(
amount_details: Models::Components::RefundAmountDetails.new(
surcharge: Models::Components::AmountDecimal.new(
currency: 'USD',
value_decimal: '12.987654321'
)
)
)
)
res = s.transfers.initiate_refund(request: req)
InitiateRefundRequest req = InitiateRefundRequest.builder()
.xIdempotencyKey("8d9af6b8-67e1-4efa-8188-68039f34097d")
.accountID("cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2")
.transferID("04022119-95be-4ef4-9dd4-b3782f6aa7b9")
.createRefund(CreateRefund.builder()
.amountDetails(RefundAmountDetails.builder()
.surcharge(AmountDecimal.builder()
.currency("USD")
.valueDecimal("12.987654321")
.build())
.build())
.build())
.build();
InitiateRefundResponse res = sdk.transfers().initiateRefund()
.request(req)
.call();
InitiateRefundRequest req = new InitiateRefundRequest() {
XIdempotencyKey = "8d9af6b8-67e1-4efa-8188-68039f34097d",
AccountID = "cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2",
TransferID = "04022119-95be-4ef4-9dd4-b3782f6aa7b9",
Body = new CreateRefund() {
AmountDetails = new RefundAmountDetails() {
Surcharge = new AmountDecimal() {
Currency = "USD",
ValueDecimal = "12.987654321",
},
},
},
};
var res = await sdk.Transfers.InitiateRefundAsync(req);
$request = new Operations\InitiateRefundRequest(
xIdempotencyKey: '8d9af6b8-67e1-4efa-8188-68039f34097d',
accountID: 'cb6ae9f9-afab-4f06-9eb0-8abf54a3ada2',
transferID: '04022119-95be-4ef4-9dd4-b3782f6aa7b9',
createRefund: new Components\CreateRefund(
amountDetails: new Components\RefundAmountDetails(
surcharge: new Components\AmountDecimal(
currency: 'USD',
valueDecimal: '12.987654321',
),
),
),
);
$response = $sdk->transfers->initiateRefund(
request: $request
);
You can also refund from the Dashboard.
Track the refund
The refund's status is pending, completed, or failed, and cardDetails.status gives the rail detail. Subscribe to refund.created and refund.updated, or call the retrieve a refund endpoint. Status definitions are in reversals.
In the Dashboard
On the Transfer details page, click Refund and choose a full or partial amount. This starts a reversal. If the transfer has not settled, Moov cancels it and the timeline shows Canceled, otherwise Moov issues a refund.
