- METHOD TYPEBank Transfer
- PAYMENTS
- PAYOUTS
- REFUNDS
- RECURRING
Introduction
APAC Bank Transfer offers seamless and secure cross-border payment solutions tailored for the Asia-Pacific region, facilitating efficient transactions for businesses and individuals alike.
Supported Countries
- China
- Indonesia
- Malaysia
- Thailand
- Vietnam
- India (Payouts only)
Supported Currencies
- MYR
- THB
- IDR
- VND
- CNY
- INR (Payouts only)
Payment (Deposit) Flow
Press tab to open…
Follow these steps to perform a payment using Nuvei REST API integration:
1. Generate a sessionToken
Press here for details.
2. Send a /payment
Request
Perform the payment by sending a /payment
request with its mandatory parameters including:
userTokenId
amount
currency
paymentOption.alternativePaymentMethod
block containing:paymentMethod
: “apmgw_APAC_bank_transfer“
deviceDetails
block containing:deviceType
,deviceName
,deviceOS
,browser
,ipAddress
billingAddress
block containing:firstName
,lastName
,country
,email
userDetails
block containing:firstName
,lastName
,country
,email
Example /payment
Request
{ "merchantSiteId": "<merchantSiteId>", "merchantId": "<merchantId>", "sessionToken": "<sessionTokenId>", "clientRequestId": "<clientRequestId>", "timeStamp": "<timestamp>", "checksum": "<checksum>", "clientUniqueId": "<clientRequestId>", "currency": "CNY", "amount": "3001", "userTokenId": "Abcd1234589155", "isRebilling": "0", "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_APAC_bank_transfer" } }, "deviceDetails": { "deviceType": "DESKTOP", "deviceName": "deviceName", "deviceOS": "deviceOS", "browser": "browser", "ipAddress": "123.4.5.6" }, "userDetails": { "email": "[email protected]", "firstName": "John", "lastName": "SMITH", "country": "CN" }, "billingAddress": { "email": "[email protected]", "firstName": "John", "lastName": "SMITH", "country": "CN" }, "dynamicDescriptor": { "merchantName": "merchantName", "merchantPhone": "merchantPhone" } }
The response generates and returns a UPO (userPaymentOptionId
) for use in future transactions.
Example /payment
Response
{ "internalRequestId": 43646701, "status": "SUCCESS", "errCode": 0, "reason": "", "merchantId": "4972436454212160565", "merchantSiteId": "209631", "version": "1.0", "clientRequestId": "20240828104213", "sessionToken": "9a3e9728-435a-4b7b-8cb3-b82b92f9e7cf", "clientUniqueId": "20240828104213", "orderId": "43644451", "userTokenId": "Abcd1234589155", "paymentOption": { "redirectUrl": "https://prod52.t365.io/test-provider/73f0b4d1-c4fd-494b-834f-09cdfee841df", "userPaymentOptionId": "2153379291", "card": {} } }
Follow these steps to perform a payment using Nuvei Web SDK integration.
1. Initiate a Session
Before you can submit payment using the client-side Nuvei Web SDK, you need to send the /openOrder
API call.
2. Initialize the Web SDK
Instantiate the Web SDK with the sessionToken
received from the server call to /openOrder
.
3. Create an APM Payment
Send a createPayment()
request with its mandatory parameters including:
paymentOption.alternativePaymentMethod
block containing:paymentMethod
: “apmgw_APAC_bank_transfer“
deviceDetails
block containing:deviceType
,deviceName
,deviceOS
,browser
,ipAddress
billingAddress
block containing:firstName
,lastName
,country
,email
userDetails
block containing:firstName
,lastName
,country
,email
Example createPayment()
Request
sfc.createPayment({ sessionToken: "<sessiontoken>", paymentOption: { alternativePaymentMethod: { paymentMethod: "apmgw_APAC_bank_transfer", } }, deviceDetails: { "deviceType": "TABLET", "deviceName": "iPad", "deviceOS": "iOS", "browser": "safari", "ipAddress": "<customer's IP address>" }, }, billingAddress: { firstName: "John", lastName: "Smith", country: "HK", email: "[email protected]" }, userDetails: { firstName: "John", lastName: "Smith", country: "HK", email: "[email protected]" }, }, function(res) { console.log(res); });
- REST API
-
Follow these steps to perform a payment using Nuvei REST API integration:
1. Generate a
sessionToken
Press here for details.
2. Send a
/payment
RequestPerform the payment by sending a
/payment
request with its mandatory parameters including:userTokenId
amount
currency
paymentOption.alternativePaymentMethod
block containing:paymentMethod
: “apmgw_APAC_bank_transfer“
deviceDetails
block containing:deviceType
,deviceName
,deviceOS
,browser
,ipAddress
billingAddress
block containing:firstName
,lastName
,country
,email
userDetails
block containing:firstName
,lastName
,country
,email
Example
/payment
Request{ "merchantSiteId": "<merchantSiteId>", "merchantId": "<merchantId>", "sessionToken": "<sessionTokenId>", "clientRequestId": "<clientRequestId>", "timeStamp": "<timestamp>", "checksum": "<checksum>", "clientUniqueId": "<clientRequestId>", "currency": "CNY", "amount": "3001", "userTokenId": "Abcd1234589155", "isRebilling": "0", "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_APAC_bank_transfer" } }, "deviceDetails": { "deviceType": "DESKTOP", "deviceName": "deviceName", "deviceOS": "deviceOS", "browser": "browser", "ipAddress": "123.4.5.6" }, "userDetails": { "email": "[email protected]", "firstName": "John", "lastName": "SMITH", "country": "CN" }, "billingAddress": { "email": "[email protected]", "firstName": "John", "lastName": "SMITH", "country": "CN" }, "dynamicDescriptor": { "merchantName": "merchantName", "merchantPhone": "merchantPhone" } }
The response generates and returns a UPO (
userPaymentOptionId
) for use in future transactions.Example
/payment
Response{ "internalRequestId": 43646701, "status": "SUCCESS", "errCode": 0, "reason": "", "merchantId": "4972436454212160565", "merchantSiteId": "209631", "version": "1.0", "clientRequestId": "20240828104213", "sessionToken": "9a3e9728-435a-4b7b-8cb3-b82b92f9e7cf", "clientUniqueId": "20240828104213", "orderId": "43644451", "userTokenId": "Abcd1234589155", "paymentOption": { "redirectUrl": "https://prod52.t365.io/test-provider/73f0b4d1-c4fd-494b-834f-09cdfee841df", "userPaymentOptionId": "2153379291", "card": {} } }
- Web SDK
-
Follow these steps to perform a payment using Nuvei Web SDK integration.
1. Initiate a Session
Before you can submit payment using the client-side Nuvei Web SDK, you need to send the
/openOrder
API call.2. Initialize the Web SDK
Instantiate the Web SDK with the
sessionToken
received from the server call to/openOrder
.3. Create an APM Payment
Send a
createPayment()
request with its mandatory parameters including:paymentOption.alternativePaymentMethod
block containing:paymentMethod
: “apmgw_APAC_bank_transfer“
deviceDetails
block containing:deviceType
,deviceName
,deviceOS
,browser
,ipAddress
billingAddress
block containing:firstName
,lastName
,country
,email
userDetails
block containing:firstName
,lastName
,country
,email
Example
createPayment()
Requestsfc.createPayment({ sessionToken: "<sessiontoken>", paymentOption: { alternativePaymentMethod: { paymentMethod: "apmgw_APAC_bank_transfer", } }, deviceDetails: { "deviceType": "TABLET", "deviceName": "iPad", "deviceOS": "iOS", "browser": "safari", "ipAddress": "<customer's IP address>" }, }, billingAddress: { firstName: "John", lastName: "Smith", country: "HK", email: "[email protected]" }, userDetails: { firstName: "John", lastName: "Smith", country: "HK", email: "[email protected]" }, }, function(res) { console.log(res); });
- Payment Page
After the transaction is processed, Nuvei sends a Direct Merchant Notification (DMN) that includes the result of the transaction to urlDetails.notificationUrl
, which Nuvei recommends including in the payment request.
Example Payment DMN with Status
=APPROVED
...'ppp_status=OK&Status=APPROVED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=&ReasonCode=0&PPP_TransactionID=43645111&userid=ScMigrationTest3&merchant_unique_id=97c10831-d399-48d7-8ea5-41f89619d2fa6&customData=QA+test+merchant&productId=Shoes%25201&first_name=John&last_name=Doe&email=success%40test.com¤cy=IDR&customField1=meccabingo.com&customField2=a2db82db-8186-44bb-a6d9-cb9f8f7ea25e&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=rnk_pr01&invoice_id=&address1=Test+Address&address2=&country=China&state=&city=Beijing&zip=M6T+1J1&phone1=%2B14161238888&phone2=&phone3=&client_ip=170.40.150.126&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=&acquirerBank=Transact365-PI&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=CN&shippingState=&shippingCity=Beijing&shippingAddress=10%252C%2520Cavendish%2520Square&shippingZip=6000&shippingFirstName=First&shippingLastName=Last&shippingPhone=&shippingCell=&shippingMail=test%252Bdenied%2540Smith.com&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=APPROVED&merchantLocale=en_US&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-28.08%3A42%3A27&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=&transactionType=Sale&externalEmail=&cardCompany=&eci=&user_token_id=Siltoken223334ttttrre&user_token=auto&userPaymentOptionId=2153379541&TransactionID=2610000000000055155&externalTransactionId=6680318e-bdbb-4571-8989-f54ccf84e0d0&APMReferenceID=4077E452A8CCD3BC486B4FFAA8E1CF6B&orderTransactionId=24918531&totalAmount=100000.00&dynamicDescriptor=Sil+Descriptor&item_name_1=Shoes%25201&item_number_1=&item_amount_1=100000.00&item_quantity_1=1&item_discount_1=0.00&item_handling_1=0.00&item_shipping_1=0.00&feeAmount=&amountWithoutFee=&houseNumber=&customCurrency=&upoRegistrationDate=20240828&type=DEPOSIT&clientRequestId=&relatedTransactionId=&sessionId=81573437fb62c84e9c6fca715a04&responsechecksum=fb46321f7cc773d106cbf2ee69a3d64f&advanceResponseChecksum=c027489fb81023cd0b4ea65917530b10',
Example Payment DMN with Status
=PENDING
...'ppp_status=PENDING&Status=PENDING&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=&ReasonCode=0&PPP_TransactionID=43645111&userid=ScMigrationTest3&merchant_unique_id=97c10831-d399-48d7-8ea5-41f89619d2fa6&customData=QA+test+merchant&productId=Shoes%25201&first_name=John&last_name=Doe&email=success%40test.com¤cy=IDR&customField1=meccabingo.com&customField2=a2db82db-8186-44bb-a6d9-cb9f8f7ea25e&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=rnk_pr01&invoice_id=&address1=Test+Address&address2=&country=china&state=&city=Beijing&zip=M6T+1J1&phone1=%2B11234568888&phone2=&phone3=&client_ip=170.40.150.126&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=&acquirerBank=Transact365-PI&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=CN&shippingState=&shippingCity=Sofia&shippingAddress=10%252C%2520Cavendish%2520Square&shippingZip=6000&shippingFirstName=First&shippingLastName=Last&shippingPhone=&shippingCell=&shippingMail=test%252Bdenied%2540klarna.com&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=PENDING&merchantLocale=en_US&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-28.08%3A41%3A53&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=&transactionType=Sale&externalEmail=&cardCompany=&eci=&user_token_id=Siltoken223334ttttrre&user_token=auto&userPaymentOptionId=2153379541&TransactionID=2610000000000055155&externalTransactionId=6680318e-bdbb-4571-8989-f54ccf84e0d0&APMReferenceID=4077E452A8CCD3BC486B4FFAA8E1CF6B&orderTransactionId=24918531&totalAmount=100000.00&dynamicDescriptor=Sil+Descriptor&item_name_1=Shoes%25201&item_number_1=&item_amount_1=100000.00&item_quantity_1=1&item_discount_1=0.00&item_handling_1=0.00&item_shipping_1=0.00&feeAmount=&amountWithoutFee=&houseNumber=&customCurrency=&upoRegistrationDate=20240828&type=DEPOSIT&clientRequestId=&relatedTransactionId=&sessionId=81573437fb62c84e9c6fca715a04&responsechecksum=1c6e8c28eaa7fe2a16394ebb2010e791&advanceResponseChecksum=02197cdc156ed030dd4da871ebe69712',
Example Payment DMN with Status
=DECLINED
...'ppp_status=FAIL&Status=DECLINED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=&ReasonCode=0&PPP_TransactionID=43645581&userid=ScMigrationTest3&merchant_unique_id=97c10831-d399-48d7-8ea5-41f89619d2fa6&customData=QA+test+merchant&productId=Shoes%25201&first_name=John&last_name=Doe&email=success%40test.com¤cy=CNY&customField1=meccabingo.com&customField2=a2db82db-8186-44bb-a6d9-cb9f8f7ea25e&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=rnk_pr01&invoice_id=&address1=Test+Address&address2=&country=China&state=&city=Beijing&zip=M6T+1J1&phone1=%2B14161238888&phone2=&phone3=&client_ip=170.40.150.126&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=&acquirerBank=Transact365-PI&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=CN&shippingState=&shippingCity=Beijing&shippingAddress=10%252C%2520Cavendish%2520Square&shippingZip=6000&shippingFirstName=First&shippingLastName=Last&shippingPhone=&shippingCell=&shippingMail=test%252Bdenied%2540smith.com&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=DECLINED&merchantLocale=en_US&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-28.09%3A21%3A44&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=&transactionType=Sale&externalEmail=&cardCompany=&eci=&user_token_id=Siltokenfrgt1wyy65666&user_token=auto&userPaymentOptionId=2153377781&TransactionID=2610000000000055175&externalTransactionId=768d3ca2-ac91-4974-b78b-d7b892273584&APMReferenceID=BD0BABFD41757387A6918630D13D2466&orderTransactionId=24919091&totalAmount=3001.00&dynamicDescriptor=Sil+Descriptor&item_name_1=Shoes%25201&item_number_1=&item_amount_1=3001.00&item_quantity_1=1&item_discount_1=0.00&item_handling_1=0.00&item_shipping_1=0.00&feeAmount=&amountWithoutFee=&houseNumber=&customCurrency=&upoRegistrationDate=20240827&type=DEPOSIT&clientRequestId=&relatedTransactionId=&sessionId=81573437fb62c84e9c6fca715a04&responsechecksum=261fcaf170b90b5610dc45ba686a590a&advanceResponseChecksum=a277c6ff706d05b91e2e83dda61d8845',
Payout (Withdrawal) Flow
Press tab to open…
To perform a payout using REST API integration, you need to use the /accountCapture
method before sending the /payout
request:
- Send an
/accountCapture
request that includes the following mandatory fields as shown in the example request below:userTokenId
– Unique customer identifier in merchant system.paymentMethod
: “apmgw_APAC_bank_transfer“countryCode
– 2-letter ISO country code for a supported country. The country must be where the currency is used.currencyCode
– 3-letter ISO currency code for a supported currency.
Example /accountCapture
Request
{ "sessionToken": "8279467b-c12f-4227-aafc-fadbfb6870a9", "merchantSiteId": "<merchantId>", "merchantId": "<merchantSiteId>", "userTokenId": "tokenforapac", "paymentMethod": "apmgw_APAC_bank_transfer", "currencyCode": "CNY", "countryCode": "CN", "languageCode": "en", "deviceDetails": { "ipAddress": "192.206.151.131" }, "notificationUrl": "http://srv-bsf-devppptrunk.gw-4u.com/ppptest/NotifyMerchantTest" }
The request returns a redirectUrl
.
Example /accountCapture
Response
{ "internalRequestId": 43659811, "status": "SUCCESS", "errCode": 0, "reason": "", "merchantId": "4972436454212160565", "merchantSiteId": "209631", "version": "1.0", "sessionToken": "8279467b-c12f-4227-aafc-fadbfb6870a9", "redirectUrl": "https://ppp-test.safecharge.com/ppp/resources/cdn/v1/bank-details-58820.html?submitUrl=https%3A%2F%2Fjumpbox.safecharge.com%2Fdmz%2FApmConnector%2FbankCapture%2FE70A87670D855991AABC064AD6D26B53&locale=en_CN&pm=APAC+Bank+Transfer", "userTokenId": "tokenforapac" }
- Use
redirectUrl
to redirect the customer to Nuvei’s account details capture page. - The customer enters account details.
Nuvei stores the data in auserPaymentOptionId
(UPO) identifier, and sends a DMN with the newly createduserPaymentOptionId
tourlDetails.notificationUrl
, which Nuvei recommends including in the/accountCapture
request. - Send a
/payout
request and include theuserPaymentOptionId
, which contains the user’s stored account details. Press here for an example.
After the transaction is processed, Nuvei sends a DMN that includes the result of the transaction to urlDetails.notificationUrl
, which Nuvei recommends including in the /payout
request.
Example /payout
DMN Status
=APPROVED
...'ppp_status=OK&Status=APPROVED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=&ReasonCode=&PPP_TransactionID=43653171&userid=tokenforapac2&merchant_unique_id=&customData=Silvenam&productId=&first_name=&last_name=&email=¤cy=CNY&pmDisplayName=12312312300&customField1=&customField2=&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=&invoice_id=&address1=&address2=&country=&state=&city=&zip=&phone1=&phone2=&phone3=&client_ip=&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=&shippingState=&shippingCity=&shippingAddress=&shippingZip=&shippingFirstName=&shippingLastName=&shippingPhone=&shippingCell=&shippingMail=&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=APPROVED&merchantLocale=&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-29.06%3A34%3A23&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=&transactionType=Credit&externalEmail=&cardCompany=&eci=&user_token_id=tokenforapac2&userPaymentOptionId=2153382301&TransactionID=2610000000000055513&externalTransactionId=8e6c1327-c660-4241-82b6-8182e5806d85&totalAmount=5000.0&dynamicDescriptor=Sil+Descriptor&feeAmount=&houseNumber=&customCurrency=&upoRegistrationDate=20240829&type=DEPOSIT&clientRequestId=&relatedTransactionId=&responsechecksum=5b8f8bcef7362ef70da54ac1848b2e1b&advanceResponseChecksum=55c6ba23cb43763f3e23461b6e103ef7',
Example /payout
DMN Status
=DECLINED
...'ppp_status=FAIL&Status=DECLINED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=Min+amount+is+100000.0&ReasonCode=0&PPP_TransactionID=43654581&userid=tokenforapac4&merchant_unique_id=&customData=Silvenam&productId=&first_name=&last_name=&email=¤cy=VND&pmDisplayName=12312312300&customField1=&customField2=&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=&invoice_id=&address1=&address2=&country=&state=&city=&zip=&phone1=&phone2=&phone3=&client_ip=&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=null&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=&shippingState=&shippingCity=&shippingAddress=&shippingZip=&shippingFirstName=&shippingLastName=&shippingPhone=&shippingCell=&shippingMail=&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=DECLINED&merchantLocale=&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-29.08%3A16%3A37&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=null&transactionType=Credit&externalEmail=&cardCompany=&user_token_id=tokenforapac4&userPaymentOptionId=2153382831&TransactionID=2610000000000055555&totalAmount=5000.0&dynamicDescriptor=Sil+Descriptor&feeAmount=&houseNumber=&customCurrency=&upoRegistrationDate=20240829&type=DEPOSIT&clientRequestId=&relatedTransactionId=&responsechecksum=9644e23876b0104ff946d2141cfbd23e&advanceResponseChecksum=9a6616cd5d5b9b89b336b1f43e79ebf6',
Example Payment Page Request
After the transaction is processed, Nuvei sends a DMN that includes the result of the transaction to notify_url
, which Nuvei recommends including in the Payment Page request.
Example Withdrawal Request DMN wdRequestStatus
=Approved
...'wdOrderId=5436961&wdRequestId=6828511&gwTrxId=2610000000000054799¬ificationType=WITHDRAW_REQUEST_NOTIFICATION&merchantSiteId=209631&merchantGwId=4972436454212160565&merchantLocale=vi_VN&wdRequestState=Closed&wdRequestStatus=Approved&wdOrderStatus=Settled&settlementType=WITHDRAWAL&gwErrCode=0&gwExtendedErrorCode=0&apmTrxId=2610000000082481&externalTransactionId=c7c1805c-7256-41c1-b93a-26ac2944af76&apmReferenceId=E5DA440407C73FA87800BD0C37888DE1&apmErrorCode=0&firstName=John&lastName=Doe&userTokenId=Siltoken224542tttrrry66&zip=M6T+1J1&city=Ontario&country=VN&phone1=%2B14161238888&email=success%40test.com&address=Test+Address&amount=100000.00&approvedAmount=100000.00¤cy=VND&userId=UID&userPMId=2153376761&paymentMethod=apmgw_APAC_bank_transfer&version=1.0&pmDisplayName=12312312300&customField1=meccabingo.com&customField3=333&client_ip=170.40.150.126&wdOrderAmount=100000.00&wdOrderCurrency=VND&responseTimeStamp=2024-08-27.10%3A25%3A04&ExternalaccountID=12312312300&feeAmount=0.0&transactionAmount=100000.0&merchantUniqueId=merchant_unique_id&upoRegistrationDate=20240827&acquirerBank=Transact365-PI&checksum=c59f5560c5dd58186aa20501687a251b',
Example Withdrawal Order DMN wdRequestStatus
=Approved
...'wdOrderId=5436961&wdRequestId=6828511&gwTrxId=2610000000000054799¬ificationType=WITHDRAW_ORDER_NOTIFICATION&merchantSiteId=209631&merchantGwId=4972436454212160565&merchantLocale=vi_VN&wdRequestState=Closed&wdRequestStatus=Approved&wdOrderStatus=Settled&settlementType=WITHDRAWAL&gwErrCode=0&gwExtendedErrorCode=0&apmTrxId=2610000000082481&externalTransactionId=c7c1805c-7256-41c1-b93a-26ac2944af76&apmReferenceId=E5DA440407C73FA87800BD0C37888DE1&apmErrorCode=0&firstName=John&lastName=Doe&userTokenId=Siltoken224542tttrrry66&zip=M6T+1J1&city=Ontario&country=VN&phone1=%2B14161238888&email=success%40test.com&address=Test+Address&amount=100000.00&approvedAmount=100000.00¤cy=VND&userId=UID&userPMId=2153376761&paymentMethod=apmgw_APAC_bank_transfer&version=1.0&pmDisplayName=12312312300&customField1=meccabingo.com&customField3=333&client_ip=170.40.150.126&wdOrderAmount=100000.00&wdOrderCurrency=VND&responseTimeStamp=2024-08-27.10%3A25%3A04&ExternalaccountID=12312312300&feeAmount=0.0&transactionAmount=100000.0&merchantUniqueId=merchant_unique_id&upoRegistrationDate=20240827&acquirerBank=Transact365-PI&checksum=3f2c92daeb5c6e67193ff29753baad19',
- REST API
-
To perform a payout using REST API integration, you need to use the
/accountCapture
method before sending the/payout
request:- Send an
/accountCapture
request that includes the following mandatory fields as shown in the example request below:userTokenId
– Unique customer identifier in merchant system.paymentMethod
: “apmgw_APAC_bank_transfer“countryCode
– 2-letter ISO country code for a supported country. The country must be where the currency is used.currencyCode
– 3-letter ISO currency code for a supported currency.
Example
/accountCapture
Request{ "sessionToken": "8279467b-c12f-4227-aafc-fadbfb6870a9", "merchantSiteId": "<merchantId>", "merchantId": "<merchantSiteId>", "userTokenId": "tokenforapac", "paymentMethod": "apmgw_APAC_bank_transfer", "currencyCode": "CNY", "countryCode": "CN", "languageCode": "en", "deviceDetails": { "ipAddress": "192.206.151.131" }, "notificationUrl": "http://srv-bsf-devppptrunk.gw-4u.com/ppptest/NotifyMerchantTest" }
The request returns a
redirectUrl
.Example
/accountCapture
Response{ "internalRequestId": 43659811, "status": "SUCCESS", "errCode": 0, "reason": "", "merchantId": "4972436454212160565", "merchantSiteId": "209631", "version": "1.0", "sessionToken": "8279467b-c12f-4227-aafc-fadbfb6870a9", "redirectUrl": "https://ppp-test.safecharge.com/ppp/resources/cdn/v1/bank-details-58820.html?submitUrl=https%3A%2F%2Fjumpbox.safecharge.com%2Fdmz%2FApmConnector%2FbankCapture%2FE70A87670D855991AABC064AD6D26B53&locale=en_CN&pm=APAC+Bank+Transfer", "userTokenId": "tokenforapac" }
- Use
redirectUrl
to redirect the customer to Nuvei’s account details capture page. - The customer enters account details.
Nuvei stores the data in auserPaymentOptionId
(UPO) identifier, and sends a DMN with the newly createduserPaymentOptionId
tourlDetails.notificationUrl
, which Nuvei recommends including in the/accountCapture
request. - Send a
/payout
request and include theuserPaymentOptionId
, which contains the user’s stored account details. Press here for an example.
After the transaction is processed, Nuvei sends a DMN that includes the result of the transaction to
urlDetails.notificationUrl
, which Nuvei recommends including in the/payout
request.Example
/payout
DMNStatus
=APPROVED...'ppp_status=OK&Status=APPROVED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=&ReasonCode=&PPP_TransactionID=43653171&userid=tokenforapac2&merchant_unique_id=&customData=Silvenam&productId=&first_name=&last_name=&email=¤cy=CNY&pmDisplayName=12312312300&customField1=&customField2=&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=&invoice_id=&address1=&address2=&country=&state=&city=&zip=&phone1=&phone2=&phone3=&client_ip=&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=&shippingState=&shippingCity=&shippingAddress=&shippingZip=&shippingFirstName=&shippingLastName=&shippingPhone=&shippingCell=&shippingMail=&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=APPROVED&merchantLocale=&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-29.06%3A34%3A23&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=&transactionType=Credit&externalEmail=&cardCompany=&eci=&user_token_id=tokenforapac2&userPaymentOptionId=2153382301&TransactionID=2610000000000055513&externalTransactionId=8e6c1327-c660-4241-82b6-8182e5806d85&totalAmount=5000.0&dynamicDescriptor=Sil+Descriptor&feeAmount=&houseNumber=&customCurrency=&upoRegistrationDate=20240829&type=DEPOSIT&clientRequestId=&relatedTransactionId=&responsechecksum=5b8f8bcef7362ef70da54ac1848b2e1b&advanceResponseChecksum=55c6ba23cb43763f3e23461b6e103ef7',
Example
/payout
DMNStatus
=DECLINED...'ppp_status=FAIL&Status=DECLINED&ExErrCode=0&ErrCode=0&errApmCode=0&errApmDescription=&errScCode=0&errScDescription=&Reason=Min+amount+is+100000.0&ReasonCode=0&PPP_TransactionID=43654581&userid=tokenforapac4&merchant_unique_id=&customData=Silvenam&productId=&first_name=&last_name=&email=¤cy=VND&pmDisplayName=12312312300&customField1=&customField2=&customField3=&customField4=&customField5=&customField6=&customField7=&customField8=&customField9=&customField10=&customField11=&customField12=&customField13=&customField14=&customField15=&invoice_id=&address1=&address2=&country=&state=&city=&zip=&phone1=&phone2=&phone3=&client_ip=&nameOnCard=&cardNumber=&bin=&noCVV=&acquirerId=null&expMonth=&expYear=&Token=&tokenId=&AuthCode=&AvsCode=&Cvv2Reply=&shippingCountry=&shippingState=&shippingCity=&shippingAddress=&shippingZip=&shippingFirstName=&shippingLastName=&shippingPhone=&shippingCell=&shippingMail=&total_discount=0.00&total_handling=0.00&total_shipping=0.00&total_tax=0.00&buyButtonProductBundleId=&merchant_site_id=209631&merchant_status=&action=&requestVersion=&message=DECLINED&merchantLocale=&unknownParameters=&payment_method=apmgw_APAC_bank_transfer&ID=&merchant_id=4972436454212160565&responseTimeStamp=2024-08-29.08%3A16%3A37&buyButtonProductId=&webMasterId=&appliedPromotions=&uniqueCC=null&transactionType=Credit&externalEmail=&cardCompany=&user_token_id=tokenforapac4&userPaymentOptionId=2153382831&TransactionID=2610000000000055555&totalAmount=5000.0&dynamicDescriptor=Sil+Descriptor&feeAmount=&houseNumber=&customCurrency=&upoRegistrationDate=20240829&type=DEPOSIT&clientRequestId=&relatedTransactionId=&responsechecksum=9644e23876b0104ff946d2141cfbd23e&advanceResponseChecksum=9a6616cd5d5b9b89b336b1f43e79ebf6',
- Send an
- Payment Page
-
Example Payment Page Request
After the transaction is processed, Nuvei sends a DMN that includes the result of the transaction to
notify_url
, which Nuvei recommends including in the Payment Page request.Example Withdrawal Request DMN
wdRequestStatus
=Approved...'wdOrderId=5436961&wdRequestId=6828511&gwTrxId=2610000000000054799¬ificationType=WITHDRAW_REQUEST_NOTIFICATION&merchantSiteId=209631&merchantGwId=4972436454212160565&merchantLocale=vi_VN&wdRequestState=Closed&wdRequestStatus=Approved&wdOrderStatus=Settled&settlementType=WITHDRAWAL&gwErrCode=0&gwExtendedErrorCode=0&apmTrxId=2610000000082481&externalTransactionId=c7c1805c-7256-41c1-b93a-26ac2944af76&apmReferenceId=E5DA440407C73FA87800BD0C37888DE1&apmErrorCode=0&firstName=John&lastName=Doe&userTokenId=Siltoken224542tttrrry66&zip=M6T+1J1&city=Ontario&country=VN&phone1=%2B14161238888&email=success%40test.com&address=Test+Address&amount=100000.00&approvedAmount=100000.00¤cy=VND&userId=UID&userPMId=2153376761&paymentMethod=apmgw_APAC_bank_transfer&version=1.0&pmDisplayName=12312312300&customField1=meccabingo.com&customField3=333&client_ip=170.40.150.126&wdOrderAmount=100000.00&wdOrderCurrency=VND&responseTimeStamp=2024-08-27.10%3A25%3A04&ExternalaccountID=12312312300&feeAmount=0.0&transactionAmount=100000.0&merchantUniqueId=merchant_unique_id&upoRegistrationDate=20240827&acquirerBank=Transact365-PI&checksum=c59f5560c5dd58186aa20501687a251b',
Example Withdrawal Order DMN
wdRequestStatus
=Approved...'wdOrderId=5436961&wdRequestId=6828511&gwTrxId=2610000000000054799¬ificationType=WITHDRAW_ORDER_NOTIFICATION&merchantSiteId=209631&merchantGwId=4972436454212160565&merchantLocale=vi_VN&wdRequestState=Closed&wdRequestStatus=Approved&wdOrderStatus=Settled&settlementType=WITHDRAWAL&gwErrCode=0&gwExtendedErrorCode=0&apmTrxId=2610000000082481&externalTransactionId=c7c1805c-7256-41c1-b93a-26ac2944af76&apmReferenceId=E5DA440407C73FA87800BD0C37888DE1&apmErrorCode=0&firstName=John&lastName=Doe&userTokenId=Siltoken224542tttrrry66&zip=M6T+1J1&city=Ontario&country=VN&phone1=%2B14161238888&email=success%40test.com&address=Test+Address&amount=100000.00&approvedAmount=100000.00¤cy=VND&userId=UID&userPMId=2153376761&paymentMethod=apmgw_APAC_bank_transfer&version=1.0&pmDisplayName=12312312300&customField1=meccabingo.com&customField3=333&client_ip=170.40.150.126&wdOrderAmount=100000.00&wdOrderCurrency=VND&responseTimeStamp=2024-08-27.10%3A25%3A04&ExternalaccountID=12312312300&feeAmount=0.0&transactionAmount=100000.0&merchantUniqueId=merchant_unique_id&upoRegistrationDate=20240827&acquirerBank=Transact365-PI&checksum=3f2c92daeb5c6e67193ff29753baad19',
User Experience
Payment (Deposit)
The user experience varies according to country and bank. The example below reflects the Maybank (Malaysia) user experience.
- The user is redirected to the APM provider’s website, reviews the bank transfer details, and presses Submit.
- The user selects a bank.
- The user reviews and confirms the bank and amount.
- The user is redirected to the bank’s website and logs in:
- The user reviews the payment information and presses Continue.
- The user receives a notification on a mobile phone, authenticates the payment, and approves the transaction on the bank’s website..
- The user is redirected back to the payment page.
Payout (Withdrawal)
The user experience varies according to country.
- The user is redirected to a Nuvei account capture page, selects a bank, enters the bank details required by the relevant country, and presses Confirm.
China and Thailand:Indonesia, Malaysia, and Vietnam:
India:
- The withdrawal request is submitted and processed by Nuvei and by the APM provider.
Testing
Test credentials and testing scenarios can be provided by Nuvei if necessary. You can contact Nuvei support for assistance.