13.01.2013 Views

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

STLink will return the following items for a Foreign Exchange Cancel<br />

Request (FX)(C)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'C' Cancellation request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> Amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

FXMessageCode Numeric N/A<br />

Example “3170”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^C~FXI<br />

D^10003606~CurrencyId^840~Amount^56.78~FXRate^0.84566~ExpiryTime^20050223164000~FXMess<br />

ageCode^3170~FXMessage^<strong>Transaction</strong> approved<br />

147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!