Refund

Refund service, has entered the end-of-day process that is, allows reversing a transaction that has been financialized.

With this service:

  • Full payment or partial refund can be made.

  • Bank and merchant records are updated.

  • Transaction tracking is provided.

⚠️ For non-financialized transactions Cancel (Void) service should be used.


Endpoint

POST /v1/Payment/DoPayment

Request Body

Field
Required
Type
Description
Example

merchantId

String

Seller's unique identification number

100000000000004

language

String

Transaction language

tr

conversationId

String

Unique identifier for transaction tracking

MSD000011

sign

String

Digital signature to verify the request

NN6JMMJANWWQ6DN5M+DUGIZW4DS2WHX0NI2JRJ0XT3O=

orderId

String

Order's unique identification number

100000000000004202402140269

paymentId

String

Identification number of the payment to be refunded

32423424

transactionDetails.transactionType

String

Transaction type

REFUND

transactionDetails.currencyCode

String

Currency code (ISO 4217)

949

transactionDetails.amount

Decimal

Amount to be refunded

1.00


Response Body

If the refund transaction is successful, the system returns the following response:

Sample Request

Sample Response

Last updated