Skip to main content
POST
/
Cortina
/
Prepaid
/
Refund
Cortina Prepaid Refund
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/Prepaid/Refund \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "ActorInfo": {
    "Country": {
      "Alpha2Code": "string",
      "Alpha3Code": "string",
      "Name": "string",
      "NumericCode": "string"
    },
    "GeoLocation": {
      "Address": "string",
      "City": "string",
      "CountryCode": "string",
      "Latitude": "double",
      "Longitude": "double",
      "State": "string",
      "ZipCode": "string"
    },
    "Id": 2001102296,
    "MerchantId": 10011,
    "Name": "Far East Dev Zone",
    "OperatorId": 2000305191,
    "OperatorName": "TanyaT_OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "CurrencyCode": "USD",
    "CurrencyNumeric": 376,
    "IsProductSelected": true,
    "MachineAuTime": "string",
    "NayaxTransactionId": 0,
    "SiteId": 12,
    "TimeoutMS": 15000,
    "TransactionId": 2.3658433596983443e+35
  },
  "CardData": {
    "BrandInfo": {
      "PrimaryDescription": "string",
      "PrimaryId": "string",
      "SecondaryDescription": "string",
      "SecondaryId": "string"
    },
    "CardHolderName": "Test Card Holder",
    "CardNumber": "string",
    "EMVData": "string",
    "EntryMode": "string",
    "ExpMonth": "string",
    "ExpYear": "string",
    "IDNumber": "string",
    "RandomNumber": "string"
  },
  "CustomData": {
    "Actor": 12312312,
    "DirectActor": 12312312,
    "Distributor": "superDistributor",
    "Machine": 131231348,
    "Operator": 123121434134
  },
  "DeviceInfo": {
    "FWVersion": "string",
    "HwSerial": "string",
    "Type": "ONYX"
  },
  "MachineInfo": {
    "City": "string",
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "United States of America",
      "NumericCode": 840
    },
    "DecimalPlace": 2,
    "GeoLocation": {
      "Address": "string",
      "City": "string",
      "CountryCode": "string",
      "Latitude": "double",
      "Longitude": "double",
      "State": "string",
      "ZipCode": "string"
    },
    "GroupId": "Beverages",
    "Id": 869761713,
    "Name": "TestPayStaticQR V2",
    "Offset": 2,
    "OperatorId": 12345,
    "Region": "string",
    "TerminalId": 987654321,
    "ZipCode": 10001
  },
  "PaymentInfo": {
    "AdditionalData": "string",
    "AuthAmount": 0.1,
    "AuthCode": 333333,
    "AuthDateTime": 230221101008,
    "AuthSource": 555555,
    "IsGatewayTimeout": true,
    "RRN": 111111,
    "SettAmount": 0.1,
    "SettDateTime": 230221101009,
    "SrvTranId": 2.3658433596983443e+35,
    "Token": "string",
    "TraceNumber": 4444
  },
  "ReasonCode": 999,
  "ReasonText": "General exception"
}
'
{
  "Balance": {
    "RegularCredit": 0,
    "RegularCreditType": 0,
    "RevalueCredit": 0
  },
  "Status": {
    "Code": 0,
    "StatusMessage": "string",
    "Verdict": "Approved"
  }
}
Returns funds or credits to a prepaid card. This endpoint processes a refund for a prepaid transaction that was already completed. It adds the refunded amount (or credit count) back to the user’s card balance and records the reason for the return.

Body

ReasonCode
integer<int16>
ReasonText
string
BasicInfo
object

Basic transaction information.

DeviceInfo
object

Hardware and firmware information of the Nayax device.

MachineInfo
object

Information about the machine involved in the transaction.

ActorInfo
object

Merchant (Actor) details.

CustomData
object

Custom Fields Information, Contact Nayax TPOC to define.

CardData
object

Additional data we read from the card (EMV data, expiration date, cvv2, etc.)

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

Response

Success

Balance
object

Type of Balance object Optional Pre-Paid balance details

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

Status
object

Transaction status