POST api/VirtualPos/Calculate

Request Information

URI Parameters

None.

Body Parameters

VirtualPosCalculateRequest
NameDescriptionTypeAdditional information
CustomerAccountId

globally unique identifier

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerAccountId": "81ea90ea-7b23-460c-a341-f1915248c772",
  "Amount": 2.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfVirtualPosCalculateResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

VirtualPosCalculateResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "Amount": 1.0,
    "AmountCurrencyId": "520a2f28-54fe-4f03-8820-edf03249b241",
    "AmountCurrencyName": "sample string 3",
    "ExpenseAmount": 4.0,
    "ExpenseAmountCurrencyId": "ec575142-4722-42d7-9105-4aac900bd5a0",
    "ExpenseAmountCurrencyName": "sample string 6",
    "ReceivedAmount": 7.0,
    "ReceivedAmountCurrencyId": "254d5d6e-64cd-45cc-a921-187858f76aff",
    "ReceivedAmountCurrencyName": "sample string 9",
    "CustomerAccountId": "b2810fe0-727f-4fb6-a292-f50027fab350",
    "SenderId": "536c5d26-4836-4556-95da-473543a7d26b"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}