Ukrcard en
  1. Transfers
Ukrcard en
  • Overview
  • Integration
  • Recipes
  • General Concepts
  • Merchant dashboard
  • References
    • Setting up and using the callback service
    • Transaction processing flows
    • Response Codes
    • Test Data
  • Our Restful API
    • E-Commerce acquiring
      • /Payment
      • /Preauthorization
      • /CancelPreauthorization
      • /Completion
      • /Confirm
      • /ConfirmExt
      • /Reverse
      • /Refund
      • /Verify
    • Transfers
      • /р2рTransfer
        POST
      • /Confirm
        POST
      • /ConfirmExt
        POST
      • /Reverse
        POST
      • /Refund
        POST
      • /Verify
        POST
    • Cards and accounts (UAPI)
      • /cards/issuacevirtualcard (140-Request for issuance of a virtual card)
      • /cards/issuacephysicalcard (141-Request for a physical card)
      • /cards/{panid}/baseparam/status (111-Request/change card status)
      • /cards/getcarddataecom (138-Request card details for eCommerce)
      • /cards/setpin (137-Request to set a PIN on a card)
      • /cards/changepin (136-Ordering a card PIN change and sending it via SMS )
      • /cards/gettransactions (122-Request for transaction history)
      • /cards/{panid}/baseparam/limits (112-Request/change card limits)
    • Payment transactions using tokens
      • /Payment
      • /Preauthorization
      • /Confirm
      • /ConfirmExt
      • /р2рTransfer
      • /Panbytoken
    • Apple Pay
      • /PaymentAppleD
      • /PaymentAppleE
    • Google Pay
      • /PaymentGoogleD
      • /PaymentGoogleE
  1. Transfers

/Refund

POST
/Refund
Подивится українською
A /Refund request is used to refund deposited money.
This request returns the funds paid for the order back to the customer. The request results in an error if the customer was not charged. Under rules only the Refund request allows multiple refunds, but their total amount cannot exceed the amount that was deposited from the customer’s account as a result of the order.
A merchant’s user must have a corresponding permission in the system to perform a refund request.

Request

Header Params

Body Params application/json

Example
{
    "sender": {
        "cvc": "***",
        "senderCardName": "Nicoleta Diaconu",
        "expiry": "2408",
        "pan": "51260000005678"
    },
    "orderData": {
        "amount": 30000,
        "description": "7777.md",
        "currency": 498
    },
    "pageData": {
        "language": "uk",
        "returnUrl": "https://paynet.md/acquiring/acquiringresult?id=8646997",
        "failUrl": "https://paynet.md/acquiring/acquiringresult?id=8646997"
    },
    "jsonParams": {
        "disableEmail": "true",
        "disablePhone": "true"
    },
    "browserParams": {
        "javascriptEnabled": true,
        "userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36",
        "colorDepth": 24,
        "screenHeight": 892,
        "screenWidth": 412,
        "javaEnabled": false,
        "browserLanguage": "ro-MD",
        "browserTimeZone": "Europe/Chisinau",
        "browserAcceptHeader": "*/*",
        "browserIpAddress": "94.139.152.182",
        "browserTimeZoneOffset": 120
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mock.apidog.com/m1/537337-0-default/Refund' \
--header 'ExtSystemid: ECOM_GOLD_BANK' \
--header 'login: SECURE_LOGIN' \
--header 'password: SECURE_PASSWORD' \
--header 'orderNumber: 1234' \
--header 'orderId: dbafea6c-3394-4f6a-a0d2-21d3d8e93e42' \
--header 'RegDate: 2023-09-12 12:16:00	' \
--header 'x-uws-clientdn: GOLDENBANK' \
--header 'accept;' \
--header 'charset;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sender": {
        "cvc": "***",
        "senderCardName": "Nicoleta Diaconu",
        "expiry": "2408",
        "pan": "51260000005678"
    },
    "orderData": {
        "amount": 30000,
        "description": "7777.md",
        "currency": 498
    },
    "pageData": {
        "language": "uk",
        "returnUrl": "https://paynet.md/acquiring/acquiringresult?id=8646997",
        "failUrl": "https://paynet.md/acquiring/acquiringresult?id=8646997"
    },
    "jsonParams": {
        "disableEmail": "true",
        "disablePhone": "true"
    },
    "browserParams": {
        "javascriptEnabled": true,
        "userAgent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36",
        "colorDepth": 24,
        "screenHeight": 892,
        "screenWidth": 412,
        "javaEnabled": false,
        "browserLanguage": "ro-MD",
        "browserTimeZone": "Europe/Chisinau",
        "browserAcceptHeader": "*/*",
        "browserIpAddress": "94.139.152.182",
        "browserTimeZoneOffset": 120
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "orderParam": {
        "orderStatus": 4,
        "orderId": "3094bcd3-25f4-4acc-be58-5ab47cdcb7ac",
        "orderAuthParam": {
            "approvalCode": "114383",
            "authCode": 4
        }
    }
}
Modified at 2025-06-26 12:40:10
Previous
/Reverse
Next
/Verify
Built with