curl --request POST \
--url https://{domain}:{port}/api/Cortina/Prepaid/Cancel \
--header 'Content-Type: application/*+json' \
--data '
{
"ActorInfo": {
"Country": {
"Alpha2Code": "string",
"Alpha3Code": "string",
"Name": "string",
"NumericCode": "string"
},
"GeoLocation": {
"Address": "string",
"City": "string",
"CountryCode": "string",
"Latitude": 32.8198988,
"Longitude": 34.998819,
"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": 32.8198988,
"Longitude": 34.998819,
"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"
}
'