Skip to content

Logo

WanguPay

Wangupay has across the globe to make payments effortless. We are committed to building the most stable payment system in the world and leading the future with international payments.

Website: wangupay.com

Set up Account Provider account

Step 1: Create Provider account

To create an account send connection request at the wangupay.com/contact or contact manager directly. Submit the required documents to verify your account and gain access.

Step 2: Get required credentials

Credentials that have to be issued:

  • wangupay__merchant_id → Merchant id
  • wangupay__public_key → Public key
  • wangupay__private_key → Private key
  • wangupay__test_mode → Test mode

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

Press Connect at WanguPay Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.

Connect

Enter credentials:

  • Merchant id
  • Public key
  • Private key
  • Test mode → true/false

Success

You have connected WanguPay Provider account!

API examples:

Minimum data set to create a payment invoices for momo_vnd_hpp service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"momo_vnd_hpp",
      "commerce_account":"hello_world",
      "currency":"VND",
      "amount":50000,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"48831631-5461-493a-ae94-02ff590fe20a",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for momo_vnd_hpp service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"momo_vnd_hpp",
      "commerce_account":"hello_world",
      "currency":"VND",
      "amount":50000,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"42ca10bc-47ab-4a0e-bf48-f8ec92af3f9b",
        "name":"John Doe"
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"48189020-4425-4844-bdd1-9d80abbfe838",
      "service_fields":[
      ]
    }
  }
}

Constants

Сonstants

If some parameters are not sent in the transaction creation request, they will take the values from the set constants.

Here is a list of constants with their corresponding parameters:

  • NAME → constants [name]

Question

"Still looking for help connecting your WanguPay account?" Please contact our support team!