Request Flow

  1. When the partner needs to request US dollars, the request parameter currency must use 840.

  2. When the user pays, Coda payment page will convert and display in local currency.

  3. Coda payment page shows the price in local currency, based on the conversion rate of the day in the Coda system.

Sample Request

{
    "initRequest":
    {
        "country": 360,
        "payType": 0,
        "apiKey": "<Your API Key>",
        "orderId": "1234",
        "currency": 840,
        "items":
        [
            {
                "code": "1",
                "price": 100.00,
                "name": "Test Item 500"
            }
        ],
        "profile":
        {
            "entry":
            [
                {
                    "key": "user_id",
                    "value": "105"
                }
            ]
        }
    }
}

An example is provided below, using Coda's channel selection page paytype=0. After requesting to pull up the page, users can see the channels they can choose from along with their respective local prices.

Last updated