跳到主要内容

付款

方法 GET

URL

https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?

必填字段

字段名类型长度描述示例
h001_MTIString4Message type identifier.0280
h002_VNOString2Version number.06
h003_TDTString8Transmission date (YYYYMMDD).20221225
h004_TTMString8Transmission time.15050500
f001_MIDString15Merchant number (MID).120567801561128
f007_TxnAmtString12Transaction amount (12-digit, implied decimals per f019).000000128099
f010_CurrCodeString3Currency code (ISO 4217 numeric).458
f019_ExpTxnAmtString1Exponent of transaction amount.2
f249_TxnChString3Transaction channel."WEB" - Web Channel (default)
f253_CntyCodeString2Country code (ISO 3166-1 alpha-2).MY
f260_ServIDString3Service ID.FNX
f263_MRNString1–40Merchant reference number (unique per transaction).2021061414062021072
f264_LocaleString2–5Language locale for the UPP page.en
f325_ECommMercIndString1E-commerce merchant indicator."0" - Non-E-Commerce merchant,
"1" - E-Commerce (3D Secure),
"2" - E-Commerce (Non-3D Secure/MOTO)
f339_TokenFlgString1Tokenisation flag."Y" - Agree to store the card details used for the payment into PayMaster system,
"N" - Disagree/FPX payment
f362_PreAuthFlgString1Pre-auth flag."A" - Account verification transaction,
"N" - Normal transaction,
"Y" - Pre-authorization transaction
t001_SHTString3Secure hash algorithm type.SH2
t002_SHVString64安全哈希值。附录 1E73CEDA9D9A8D1AAF59BDB919EF7C82D52671A4B457CE816BCE91AFF31485259
可选字段
字段名类型长度描述示例
f247_OrgTxnAmtString12Original transaction amount. Required if f248_OrgCurrCode exists.000000029885
f248_OrgCurrCodeString3Original currency code. Required if f247_OrgTxnAmt exists.840
f250_CCProcFeeString12Credit card processing fee.000000000010
f251_DDProcFeeString12Direct debit processing fee.000000000010
f252_PromoCodeString2Promotion code."01" - VISA card,
"02" - MasterCard,
"49" - Specific card issuer,
"60" - Specific list of BINs/IINs of card issuer,
"50" - Direct Debit only,
"51" - Specific direct debit bank
f255_IssCodeString1–512Card issuer code or BIN list (| separator). Required for promo 49 / 60.43220400|52685200
f256_FICodeString20Financial institution code (promo / DD).MXX
f261_HostIDString8Merchant host ID.M2022121
f262_SessIDString1–256Merchant session ID.c8t3gprjtl35ms4sm937hj7s30
f270_ORNString2–34Order reference number.OTMEGASTORE-20010831-ONLINE-007
f271_ODescString1–256Order description.Coffee Table
f278_EMailAddrString1–256Customer email.customer123@gmail.com
f279_HPString1–20Customer mobile number.6012888888
f280_RURL_UPPPSString1–512UPP successful return URL.https://xxx/approved.jsp
f281_RURL_UPPPUString1–512UPP unsuccessful return URL.https://xxx/declined.jsp
f282_RURL_UPPPCString1–512UPP cancel return URL.https://xxx/cancel.jsp
f285_IPAddrString7–39Customer IP address.192.168.2.2
f287_ExpOrgTxnAmtString1Exponent of original amount. Required if f247_OrgTxnAmt exists.2
f289_PortalCustIdString1–256Encrypted portal customer ID (excluded from hash)....
f290_SignatureString1–512Signature when f289 present (excluded from hash)....
f344_MercCustIdString1–50Merchant customer ID.guest-finexus
f347_TokenShrtNmString1–20PAN profile short name. Required if f339_TokenFlg is Y.ABC
f350_CrdTypString3Pre-selected card type on UPP."VSA" - Visa card,
"MST" - Mastercard,
"CUP" - China Union Pay,
"AP" - Alipay+
f354_TIDString8Terminal ID.T2022121
f363_InvNumString50Invoice number.Inv202201120012
f364_FeeString257Fee (TLV).f00103200f0020250
f365_POSEnvFlgString1POS environment flag."C" - Unscheduled credential on file,
"I" - Installment,
"R" - Recurring

示例消息​

UPP Payment Request (0280)
curl -X GET \
"https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?h001_MTI=0280&h002_VNO=06&h003_TDT=20221225&h004_TTM=150505000&f001_MID=D1022012123&f007_TxnAmt=000000128099&f010_CurrCode=458&f019_ExpTxnAmt=2&f247_OrgTxnAmt=000000029885&f248_OrgCurrCode=840&f249_TxnCh=API&f250_CCProcFee=000000000010&f251_DDProcFee=000000000010&f252_PromoCode=01&f253_CntyCode=MY&f255_IssCode=43220400|52685200|432206&f256_FICode=MXX&f260_ServID=FNX&f261_HostID=M2022121&f262_SessID=c8t3gprjtl35ms4sm937hj7s30&f263_MRN=2021061414062021072&f264_Locale=en&f270_ORN=OTMEGASTORE-20010831-ONLINE-007&f271_ODesc=Coffee+Table&f278_EMailAddr=customer123%40gmail.com&f279_HP=6012888888&f280_RURL_UPPPS=http%3A%2F%2Fxxx.xxxxx.xxx%2Fapproved.jsp&f281_RURL_UPPPU=http%3A%2F%2Fxxx.xxxxx.xxx%2Fdeclined.jsp&f282_RURL_UPPPC=http%3A%2F%2Fxxx.xxxxx.xxx%2Fcancel.jsp&f285_IPAddr=192.168.2.2&f287_ExpOrgTxnAmt=2&f350_CrdTyp=VSA&f354_TID=T2022121&f325_ECommMercInd=1&f339_TokenFlg=N&f344_MercCustId=&f347_TokenShrtNm=ABC&f362_PreAuthFlg=N&f363_InvNum=Inv202201120012&f364_Fee=f00103200f0020250&f365_POSEnvFlg=C&t001_SHT=SH2&t002_SHV=E73CEDA9D9A8D1AAF59BDB919EF7C82D52671A4B457CE816BCE91AFF31485259"