POST api/v1/VirtualPos/Start

Request Information

URI Parameters

None.

Body Parameters

VirtualPosStartRequest
NameDescriptionTypeAdditional information
Amount

decimal number

None.

AmountCurrencyId

globally unique identifier

None.

ExpenseAmount

decimal number

None.

ExpenseAmountCurrencyId

globally unique identifier

None.

ReceivedAmount

decimal number

None.

ReceivedAmountCurrencyId

globally unique identifier

None.

CustomerAccountId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "AmountCurrencyId": "0c2e8e14-1ec4-4ce6-85ec-4fb072f63ab9",
  "ExpenseAmount": 3.0,
  "ExpenseAmountCurrencyId": "ad92e9d7-4798-4fce-b308-0cf59298618b",
  "ReceivedAmount": 5.0,
  "ReceivedAmountCurrencyId": "158d21aa-e8a3-496a-a95d-824f7f4aaf8c",
  "CustomerAccountId": "ed03b312-9ccc-4cff-93c9-b0beb2b92853",
  "CustomerId": "032dade3-c075-4871-b6d9-9e740965a0c1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfVirtualPosStartResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

VirtualPosStartResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "OperationId": "e0ac2053-0fb9-4688-b8ff-69b98fd1a9f0",
    "Amount": 2.0,
    "AmountCurrencyId": "5cbe3069-3128-4115-99f4-13f15d00f289",
    "AmountCurrencyName": "sample string 4",
    "ExpenseAmount": 5.0,
    "ExpenseAmountCurrencyId": "2e68e17e-79ba-4f27-ac89-dcd29cef1c75",
    "ExpenseAmountCurrencyName": "sample string 7",
    "ReceivedAmount": 8.0,
    "ReceivedAmountCurrencyId": "212f43aa-a2b6-4915-b71c-2083cc469e98",
    "ReceivedAmountCurrencyName": "sample string 10",
    "FormContent": "sample string 11",
    "SuccessUrl": "sample string 12",
    "FailUrl": "sample string 13"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}