Skip to main content

Refund API

Ask AI

Endpoint contract

Initiate a refund for a completed transaction.

POST /v2/refundapplication/jsonSignature required

Request

FieldTypeRequiredDescription
transactionIdString (ULID)MThe original GLODIPAY transaction ID.
amountFloatMRefund amount. Minimum 0.10 and capped by the remaining refundable amount.
reasonString(max:1000)OShort refund reason.
signatureString(max:750)MRSA-MD5 signature.

Response

A successful response returns status, message, and a data object containing refundId and refundNumber. Validation errors return HTTP 422 with status: error and an errors array.

Auto-processed refund: message is omitted.

Pending approval: message is "Refund created and waiting for approval."

Note: Partial refunds depend on the processor of the transaction. When they are not allowed, amount must equal the remaining refundable amount.

Refund status updates are delivered to the original transaction webhook URL and must be acknowledged with {"returnCode":"100"} within 15 seconds. Notifications are not retried automatically.

Source

This page is derived from Refund API.

Bookmarks

No bookmarks yet.
Hover over a heading and click to save a section.