Request Fields

Field Description MaxLength Required 1
CompanyNum Your company number - ####### 7 Yes
TransType 2 Transaction type: 2 = Transaction 2 Yes
TypeCredit 2 10 = VOID 1 Yes
Amount Amount to be charged, e.g. 199.95 10 Yes
Currency Supported Currencies can be found Here, in Server to Server mode you must send the Currency ID. 1 Yes
Comment Optional text used mainly to describe the transaction 500 Optional
TransApprovalID transaction ID. Used to specify the original transaction id for VOID TypeCredit = 10. 10 Mandatory
notification_url The callback URL you wish our servers to update at the end of each transaction, this can passed either via the MCP or via this field. 255 Optional
Signature Signature for verifying the authenticity of the request parameters.
Field values to use: CompanyNum + TransType + TypeCredit + PersonalHashKey
Refer to BASIC INFO SIGNATURE for detailed explanation.
50 Mandatory

Code example

Code Example
var Siganture = CryptoJS.SHA256(CompanyNum + 2 + 10 + PersonalHashKey);
var Base64Siganture = Siganture.toString(CryptoJS.enc.Base64);
var hash = encodeURIComponent(Base64Siganture);

var src = "https://process.coriunder.cloud/member/remote_charge.asp?" + "CompanyNum=" + CompanyNum + "&TransType="  + 2 +
				 "&TransApprovalID=" + TransApprovalID + "&TypeCredit=" + 10  + "&Signature=" + hash;                        

Request example

Request
https://process.coriunder.cloud/member/remote_charge.asp?
CompanyNum=3411419&
TransType=2&
TypeCredit=10&
Amount=50&
Comment=Test VOID&
TransApprovalID=1747&
Signature=%2B4bLWAIS1eEcAp90NHa1C8Wa8aHYGJ%2FYVtlH3EWxD4U%3D  

Response example

Response
TransType=2&
Reply=000&
TransID=21299&
Date=21/01/2023 16:35:38&
Order=30101010&
Amount=50.00&
Payments=1&
Currency=1&
ConfirmationNum=1234567&
Comment=Deposit&
ReplyDesc=SUCCESS&
CCType=Visa&
Descriptor=Testing Environment&
RecurringSeries=&
Last4=1111&
ExpMonth=11&
ExpYear=25&
ccStorageID=&
ccPublicReference=&
Source=APPROVED&
WalletID=&
debit_company=1&
debit_refnum=&
ccBIN=411111&
signType=SHA256&
signature=5L6Jt6falh0ir%2Bnrv0dYbAC4KxmHcoOHIgtfitqMO7c%3D