This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
developer:api_specification:xml_payment_features_einvoice [2019/05/20 17:40] robinc [Examples for the Response] |
developer:api_specification:xml_payment_features_einvoice [2019/05/20 17:47] robinc [Notes and Details About the Request] |
||
---|---|---|---|
Line 482: | Line 482: | ||
**ND001 - Hash Formation** | **ND001 - Hash Formation** | ||
- | The general rule to build the HASH field is given on the Special Fields and Parameters page, under the Special Fields and Parameters section. For this specific feature, you should use the following format. | + | The general rule to build the HASH field is given on the [[developer:api_specification:special_fields_and_parameters|Special Fields and Parameters]] page, under the Special Fields and Parameters section. For this specific feature, you should use the following format. |
<WRAP center box 100%> | <WRAP center box 100%> | ||
Line 565: | Line 565: | ||
* **Scenario**: Response for a successful cancellation. | * **Scenario**: Response for a successful cancellation. | ||
* **Terminal**: 6491002. | * **Terminal**: 6491002. | ||
+ | * **Terminal Secret**: x4n35c32RT | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <GET_PAYMENT_LINK_RESPONSE> | ||
+ | <TERMINALID>6491002</TERMINALID> | ||
+ | <MERCHANTREF>A1B2C3</MERCHANTREF> | ||
+ | <ORDERID>PBL_JJW45945AEVSRG</ORDERID> | ||
+ | <AUTH_TYPE>1</AUTH_TYPE> | ||
+ | <CURRENCY>USD</CURRENCY> | ||
+ | <AMOUNT>13.95</AMOUNT> | ||
+ | <DESCRIPTION>miscellaneous goods and services</DESCRIPTION> | ||
+ | <CREATION_DATE>31/01/2019</CREATION_DATE> | ||
+ | <EXPIRATION_DATE>31/01/2019</EXPIRATION_DATE> | ||
+ | <PAYMENT_LINK_STATUS>CANCELLED</PAYMENT_LINK_STATUS> | ||
+ | <PAY_NOW_URL>https://gatewayhost/merchant/paymentlink?token=a04c2fb6-a341-4c22-829b-5ee6e56b8f90</PAY_NOW_URL> | ||
+ | <DATETIME>06-03-2018:17:41:08:273</DATETIME> | ||
+ | <HASH>69c10527f4c5f0cb3ce0e6bcf0957503c6e0f9dbdccd01bf4e7a685c2ffb272057f6e5831a2e3d1a298abd137b891db31a6a69ff443d8b01ee37d0d789c04ecf</HASH> | ||
+ | </GET_PAYMENT_LINK_RESPONSE> | ||
+ | </code> | ||
+ | |||
+ | <WRAP center important 100%> | ||
+ | **REMEMBER** to change the Terminal ID and Terminal Secret to valid values. Consult the [[developer:integration_docs|Integration Docs]] for examples or contact our support team. | ||
+ | </WRAP> | ||
+ | |||