ユニオン・ペイ

特徴 #


FeatureDetails
通貨の処理MYR、CNY
決済通貨MYR
最低取引額0.01MYR
最大取引額2500MYR
払い戻し×
一部払い戻し×

Payment process #

  1. The client chooses to pay with unionpay and is redirected to unionpay payment page
image.png

サーバー間の統合 #

Using unionpay, customers pay by redirecting from your website or app, finish the payment, then return to your website or app where you get immediate notification on whether the payment succeeds or fails.

概要 #

For direct API intergration, you can create payment intent and get url in only one step, the folllowing is the demo of creating payment intents:

  1. PaymentIntentの作成

PaymentIntentの作成 #

A PaymentIntent is an object that represents your intent to collect payment from your customer and tracks the lifecycle of the payment process. Create a PaymentIntent on your server and specify the amount to collect and a supported currency. If you have an existing Payment Intents integration, add unionpay to the list of payment method types.

リクエスト PaymentIntentの作成

{
    "amount":1050,
    "currency":"CNY",
    "confirm":true,
    "payment_method_data" : {
        "type":"unionpay"
    },
    "return_url":"https://your.website"
}

応答

{
    "id": "pi_1646357082686881792",
    "object": "payment_intent",
    "created": 1681357091000,
    "currency": "CNY",
    "amount": 1050,
    "status": "requires_action",
    "livemode": true,
    "client_secret": "pi_1646357082686881792_secret_WrLaoJjPfB9FaWPfaqsxQyPx",
    "next_action": {
        "type": "unionpay_handle_redirect",
        "unionpay_handle_redirect": {
            "url": "https://api.wooshpay.com/v1/receives/paydibs/pay/1646357082686881792"
        }
    },
    "payment_method_types": [
        "grabpay",
        "mcash",
        "boost",
        "touchngo",
        "unionpay"
    ],
    "confirmation_method": "automatic",
    "return_url": "https://your.website",
    "payment_method": "pm_1646357082556858368",
    "capture_method": "automatic"
}
どのようなお気持ちですか?
2023年8月9日更新