Dynamic information

This route provides additional dynamic information regarding the payment that may be displayed to the customer. Currently only the following gateways supports this route:
alipay_plus_online

The Dynamic Information object

Fields
servicestring
The key of the gateway
service_namestring
The name of the gateway
brandsarray[object]
A list of objects with information about each brand the gateway supports
brands.brandstring
The key of the sub brand
brands.service_brand_namestring
The key of the sub brand from the gateway
brands.brand_display_namestring
The name of the sub brand
brands.extrasobject
Additional information provided directly by the gateway. The contents of this object may be subject to change without notice by the gateway

Request

POST https://api.univapay.com/checkout_info/gateways/{gateway}

Parameters:

Parameters
amountnumber [Required]
Amount to charge.
currencystring (ISO-4217) [Required]
Currency code in ISO-4217.
call_methodstring [Required]
The execution method requested by the client.

Is one of http_get, http_get_mobile, http_post, sdk, web, app.
sdk refers to usage directly in a SDK provided by the payment provider.
web refers to usage directly in a special browser environment with specific API extensions.
app refers to usage in a native app environment in a SDK provided by the payment provider.
http_get or http_post, the issuer_token can be directly executed in a new browser window or in an iframe with the correct corresponding HTTP method.
http_get_mobile is the same as http_get but will return a page specific for mobile browsers

The following brands support the following call methods:
– alipay_plus_online: http_get, http_get_mobile, sdk (miniapp), app
os_typestring [Conditional]
The OS of the underlying mobile device. Valid values include:
android
ios

The following brands and call methods require the OS type to be provided:
alipay_plus_online: http_get_mobile, app

Headers:

Content-Type: application/json
Authorization: Bearer {jwt}

Body:

curl --request POST \
--url 'https://api.gyro-n.money/checkout_info/gateways/alipay_plus_online' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {jwt}' \
--data-raw '{
    "amount": 1000,
    "currency": "JPY",
    "call_method": "http_get"
}'

Response

Code: 200

Headers:

Content-Type: application/json

Body:

{
  "service": "CONNECT_WALLET",
  "service_name": "Alipay+",
  "brands": [
    {
      "brand": "alipay_plus_online",
      "service_brand_name": "CONNECT_WALLET",
      "brand_display_name": "Alipay+",
      "extras": {
        "logos": [
          {
            "logoName": "Alipay+",
            "logoUrl": "https://cdn.marmot-cloud.com/storage/aplus-checkout-prod/icon/prod/A88TESTB15666666/d8af559fe5c1d5b3d33c513651520be5204acd4953a4a8fd2216515eed4e3f00/P1-WEB-01.png",
            "logoPattern": "P1-WEB-01",
            "logoWidth": "912",
            "logoHeight": "120"
          },
          {
            "logoName": "Alipay+",
            "logoUrl": "https://cdn.marmot-cloud.com/storage/aplus-checkout-prod/icon/prod/A88TESTB15666666/d8af559fe5c1d5b3d33c513651520be5204acd4953a4a8fd2216515eed4e3f00/P2-APP-01.png",
            "logoPattern": "P2-APP-01",
            "logoWidth": "480",
            "logoHeight": "240"
          }
        ],
        "promoNames": [
          "{\"en_US\":\"A+ Cashier Promotion Test\",\"fil_PH\":\"A+ Cashier Promotion Test\"}"
        ]
      }
    }
  ]
}