• Documentation
  • API Reference
  • Documentation
  • API Reference
Expand All Collapse All
< BACK TO HOME
  • APMs Overview
    • Introduction to APMs
    • APM Integrations and Flows
    • APM Input Fields and APIs
    • APM subMethod Class
    • Account Details Capture
    • APM Countries and Currencies
  • Global Guides
    • Afterpay
    • Apple Pay
      • Registering with Apple Pay
        • (Manually) Register in the Apple System
          • Create an Apple ID
          • Enroll in the Apple Developer Program
            • Submit an Enrollment Request
            • Complete the Enrollment Process
            • Activate your Apple Developer Program Account
          • Register a Merchant ID in the Apple System
            • Create a Merchant ID
            • Create a Payment Processing Certificate
            • Create a Merchant Identity Certificate
            • Register and Verify Your Domain
      • Nuvei Apple Pay Implementations
        • Payment Page using IFrame
        • Static Apple Pay Button
        • Static Pay Button (Web SDK)
        • Dynamic Apple Pay Button
      • Apple Pay Integration
        • Apple Pay (REST API)
        • Apple Pay (Web SDK)
        • Apple Pay (Simply Connect)
        • Apple Pay Integration Testing
    • Google Pay
      • Google Pay (REST API)
      • Google Pay (Web SDK)
      • Google Pay (Simply Connect)
    • Neteller
    • PayPal
    • Skrill
    • Visa Checkout
      • Visa Checkout (REST API)
  • US and Canada Guides
    • ACH
    • Instant Bank Transfer
    • Interac Instant
    • Mazooma
    • PayNearMe
    • PlayPlus
      • PlayPlus (REST)
      • PlayPlus (Web SDK)
    • VIP Preferred
      • VIP Preferred (REST)
      • VIP Pref. (Web SDK/Simply Connect)
  • Europe Guides
    • Aircash
    • Clearpay
    • iDEAL
    • MobilePay
    • Okto Cash
    • Open Banking
    • SEPA Payouts
  • Latin America Guides
    • Colombia Payouts
    • Daviplata
    • Efecty Payout
    • LATAM Payouts
    • Pay4Fun
    • Pay with Cash
    • PIX
    • PIX Payouts
    • PSE
    • QR Redeban
    • STPmex
    • WebPay
  • Asia Pacific Guides
    • AlipayHK
    • Dana
    • DragonPay
    • GCash
    • India Payouts
    • KakaoPay
    • NPP
    • Touch ’n Go
    • TrueMoney
    • WeChat

DragonPay

Home    DragonPay

On this page:
  • Introduction
  • Supported Countries
  • Supported Currencies
  • Payment (Deposit) Flow
  • Payout (Withdrawal) Flow
  • Testing
    • Online Banking
    • Over-the-Counter / ATM Banking
Attributes
  • METHOD TYPEBank Transfer
  • PAYMENTS
  • PAYOUTS
  • REFUNDS

Introduction

DragonPay manages cash and bank transfers for e-commerce payments and payouts in the Philippines.

DragonPay aggregates many payment methods that may not be supported directly by Nuvei.

Supported Countries

  • Phillipines

Supported Currencies

  • PHP

Payment (Deposit) Flow

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_DragonPay“
    • paymentasia_email
    • paymentasia_phone
  • deviceDetails block containing: ipAddress
  • billingAddress block containing: firstName, lastName, email, phone, country
  • userDetails block containing: firstName, lastName, email, phone, country
Example /payment Request
{
  "sessionToken":"<sessionToken from getSessionToken>",
  "merchantId":"<merchantId>",
  "merchantSiteId":"<merchantSiteId>",
  "clientUniqueId":"<unique transaction ID in merchant system>",
  "clientRequestId":"<unique request ID in merchant system>",
  "amount":"200",
  "currency":"PHP",
  "userTokenId":"<unique customer identifier in merchant system>",
  "paymentOption":{
    "alternativePaymentMethod":{
      "paymentMethod":"apmgw_DragonPay",
      "paymentasia_email":"<paymentasia_email>",
      "paymentasia_phone":"<paymentasia_phone>"
    }
  },
  "deviceDetails":{
    "ipAddress":"<customer's IP address>"
  },
  "billingAddress":{
    "firstName":"John",
    "lastName":"Smith",
    "phone":"63756747844",
    "email":"john.smith@email.com",
    "country":"PH"
  },
  "userDetails":{
    "firstName":"John",
    "lastName":"Smith",
    "phone":"63756747844",
    "email":"john.smith@email.com",
    "country":"PH"
  },
  "timeStamp":"<YYYYMMDDHHmmss>",
  "checksum":"<calculated checksum>"
}

Payout (Withdrawal) Flow

When performing a /payout with DragonPay, the following flow including the /accountCapture method is used before processing the /payout request:

  1. Send an /accountCapture request that includes the following mandatory fields as shown in the example request below:
    • userTokenId – Unique identifier of the customer in your system
    • paymentMethod: “apmgw_DragonPay“
    • currencyCode: PHP
    • countryCode: PH

      Example /accountCapture Request
      {
        "sessionToken": "<sessionToken from getSessionToken>",
        "merchantId": "<your merchantId>",
        "merchantSiteId": "<your merchantSiteId>",
        "userTokenId": "<unique customer identifier in merchant system>",
        "paymentMethod": "apmgw_DragonPay",
        "currencyCode": "PHP",
        "countryCode": "PH",
      }

      The request returns a redirectUrl.

      Example /accountCapture Response
      {
        "redirectUrl":"https://apmtest.gate2shop.com/ppp/resources/cdn/v1/payment-asia.html?submitUrl=https%3A%2F%2Ftest.safecharge.com%2FAPMNotificationGateway%2FApmConnector%2FbankCapture%2F8FFE7EB73A4ACC53DEAA25CF57350F2D&locale=en_PH&pm=DragonPay",
        "userTokenId":"test0202",
        "sessionToken":"2cf95c21-5b01-4e81-b400-29ea73ddf5cc",
        "internalRequestId":604246858,
        "status":"SUCCESS",
        "errCode":0,
        "reason":"",
        "merchantId":"221195993304907999",
        "merchantSiteId":"232618",
        "version":"1.0"
      }
  2. Use redirectUrl to redirect the customer to the APM’s account details capture interface for them to enter their account details.
  3. Once the information is captured, Nuvei stores the data in a UPO record and sends a DMN back to you with the newly created userPaymentOptionId.
  4. Send a /payout request and include the userPaymentOptionId, which contains the user’s previously stored APM account details. Press here for an example.

Testing

Online Banking

Bank Name: Test Bank Online

Login ID: pwd

Password: pwd

Over-the-Counter / ATM Banking

Bank Name: Test Bank Online Over-the-Counter

Follow the link you receive in an email and confirm the payment.

  • Terms of use
  • Privacy Policy
Nuvei. All rights reserved.