Authorisation
POST {{base_path_test}}{{endpoint_authorisation}}
Authorisation enables the Merchant to get permission from the Issuing bank to charge the Customer's card. To complete the transaction so the Customer will be charged the authorisation needs to be confirmed with Capture request.
Authorisations Time-To-Live for Card Not Present (CnP) transactions typically does not exceed 24 hours, while Card Present (CP) Authorisations may last up to 7 days.
The following combinations of POI and Authentication fields are applicable: * 3D Secure Transaction * d22cp = INTERNET * TXcavv, TransactionStatus, PurchaseXID, DsTransId are all present and with value
- CVC Transaction
- d22cp = INTERNET, MAIL, TELEPHONE
- d47 is present with value
In the event no response is received from the host, the client shall attempt to reverse the failed request attempt. For details refer to Reversal (Time-Out)
Request Body
[{"name"=>"d2", "value"=>"{{pan}}", "datatype"=>"string"}, {"name"=>"store_token", "value"=>"{{store_token}}", "datatype"=>"string"}, {"name"=>"daskm", "value"=>"{{merchant_card_token_authorisation}}", "datatype"=>"string"}, {"name"=>"dask", "value"=>"{{system_card_token_authorisation}}", "datatype"=>"string"}, {"name"=>"d3", "value"=>"{{processing_code_sale}}", "datatype"=>"string"}, {"name"=>"d4", "value"=>"{{amount_sale}}", "datatype"=>"string"}, {"name"=>"de4", "value"=>"{{currency_exponent}}", "datatype"=>"string"}, {"name"=>"d12", "value"=>"{{date_current}}", "datatype"=>"string"}, {"name"=>"d14", "value"=>"{{expiry_date}}", "datatype"=>"string"}, {"name"=>"d22cp", "value"=>"{{pos_env_internet}}", "datatype"=>"string"}, {"name"=>"d31", "value"=>"{{transaction_reference_authorisation}}", "datatype"=>"string"}, {"name"=>"d49", "value"=>"{{currency_id_number}}", "datatype"=>"string"}, {"name"=>"capture", "value"=>"{{capture_false}}", "datatype"=>"string"}, {"name"=>"cip", "value"=>"{{client_ip_address}}", "datatype"=>"string"}, {"name"=>"TXcavv", "value"=>"{{3DS_CAVV}}", "datatype"=>"string"}, {"name"=>"TransactionStatus", "value"=>"{{3DS_ECI}}", "datatype"=>"string"}, {"name"=>"PurchaseXID", "value"=>"{{3DS_XID}}", "datatype"=>"string"}, {"name"=>"DsTransId", "value"=>"{{3DS_TransID}}", "datatype"=>"string"}, {"name"=>"d2name", "value"=>"{{cardholder_name}}", "datatype"=>"string"}, {"name"=>"d47", "value"=>"{{cvc}}", "datatype"=>"string"}, {"name"=>"mlang", "value"=>"{{language_errors}}", "datatype"=>"string"}, {"name"=>"clang", "value"=>"{{language_response}}", "datatype"=>"string"}, {"name"=>"separator", "value"=>"&", "datatype"=>"string"}, {"name"=>"user", "value"=>"{{user_name}}", "datatype"=>"string"}, {"name"=>"pwd", "value"=>"{{pass_word}}", "datatype"=>"string"}, {"name"=>"terminalId", "value"=>"{{terminalID}}", "datatype"=>"string"}, {"name"=>"d41", "value"=>"{{terminalNumber}}", "datatype"=>"string"}, {"name"=>"d42", "value"=>"{{merchantID}}", "datatype"=>"string"}, {"name"=>"separator", "value"=>"{{separator}}", "datatype"=>"string"}, {"name"=>"d39", "value"=>"000", "datatype"=>"string"}, {"name"=>"d39text", "value"=>"Approved", "datatype"=>"string"}, {"name"=>"error", "value"=>"10000", "datatype"=>"number"}, {"name"=>"errortext", "value"=>"Approved", "datatype"=>"string"}, {"name"=>"errortext", "value"=>"Approved", "datatype"=>"string"}, {"name"=>"d38", "value"=>"165806", "datatype"=>"number"}, {"name"=>"d37", "value"=>"84000002", "datatype"=>"number"}, {"name"=>"d2brand", "value"=>"VISA", "datatype"=>"string"}, {"name"=>"d56", "value"=>"165343201", "datatype"=>"number"}, {"name"=>"transactionId", "value"=>"165343201", "datatype"=>"number"}, {"name"=>"correlationId", "value"=>"941172fb-8b6e-4088-9fd6-51ffcd8acf0f", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
"d39=000\nuser=Rapyd\ndask=0000020046067405786\ndaskm=crt_Fdme9LhXJfytuaYL\nd3=000000\nd4=1999\nde4=2\nd12=201203170514\nd14=2306\nd31=trf_Jykmkoqid3x\nd38=170514\nterminalId=54321\nd41=90000360\nd42=8180001\nd49=840\nd56=165343501\ntransactionId=165343501\nd2brand=VISA\nd2dsp=xxxxxxxxxxxx7492\nerror=10000\nerrortext=Approved\nd39text=Approved\ncorrelationId=a1ffc354-0c30-4a35-b6c9-cf3140f432bd"