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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Foreign Exchange Refund Request (FX)(R)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

FX.<br />

Example “1” for FX<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘R’ Refund Request<br />

Reference Number from Foreign Exchange<br />

M<br />

FXID Numeric N/A system.<br />

Example “10003606”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

O<br />

Amount Numeric N/A CurrencyId.<br />

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

“125.333”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^FX~IsTest^1~TimeOut^60000~RequestType^R~FXID^10003606~Amount^56.78<br />

144

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

Saved successfully!

Ooh no, something went wrong!