GET v{version}/{lang}/preCreate?currency={currency}&wp={wp}&paymentProvider={paymentProvider}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

currency

string

Required

wp

string

Required

paymentProvider

PaymentProvider

Required

version

The requested API version

string

Required

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

PreCreateResponse
NameDescriptionTypeAdditional information
trade_no

string

None.

qr_code

string

None.

pic_url

string

None.

borgun_public_key

string

None.

mpi_url

string

None.

mpi_callback_url

string

None.

status

integer

None.

function

string

None.

timestamp

string

None.

sign

string

None.

error_info

string

None.

Response Formats

application/json, text/json

Sample:
{
  "trade_no": "sample string 1",
  "qr_code": "sample string 2",
  "pic_url": "sample string 3",
  "borgun_public_key": "sample string 4",
  "mpi_url": "sample string 5",
  "mpi_callback_url": "sample string 6",
  "status": 7,
  "function": "sample string 8",
  "timestamp": "sample string 9",
  "sign": "sample string 10",
  "error_info": "sample string 11"
}

application/xml, text/xml

Sample:
<PreCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment">
  <error_info>sample string 11</error_info>
  <function>sample string 8</function>
  <sign>sample string 10</sign>
  <status>7</status>
  <timestamp>sample string 9</timestamp>
  <borgun_public_key>sample string 4</borgun_public_key>
  <mpi_callback_url>sample string 6</mpi_callback_url>
  <mpi_url>sample string 5</mpi_url>
  <pic_url>sample string 3</pic_url>
  <qr_code>sample string 2</qr_code>
  <trade_no>sample string 1</trade_no>
</PreCreateResponse>