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 Rate<br />

Request (FX)(X)<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, “FX” for Foreign Exchange.<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 'X' Rate 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 />

ConvertedCurren<br />

cyId<br />

Numeric N/A<br />

Converted CurrencyId. ISO standard numeric ids<br />

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 />

ConvertedAmoun<br />

t<br />

Numeric N/A<br />

Converted amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

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 />

ExpiryTime<br />

AlphaNumeri<br />

c<br />

20<br />

Date and Time the rate expires (YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

FXMessageCode Numeric N/A<br />

Example “3100”<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^X<br />

~FXID^10003606~CurrencyId^840~ConvertedCurrencyId^124~FXRate^0.84566~ExpiryTime^200502231<br />

64000~FXMessageCode^3100~FXMessage^<strong>Transaction</strong> approved<br />

141

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

Saved successfully!

Ooh no, something went wrong!