POST api/QrPayment/GetQrPaymentCalculate

Request Information

URI Parameters

None.

Body Parameters

QrPaymentCalculateRequest
NameDescriptionTypeAdditional information
SendAmount

decimal number

None.

SendAmountCurrencyId

globally unique identifier

None.

ReceivedAmount

decimal number

None.

ReceivedAmountCurrencyId

globally unique identifier

None.

SenderCustAccountId

globally unique identifier

None.

SenderCurrencyId

globally unique identifier

None.

ReceiverCustAccountId

globally unique identifier

None.

ReceiverCurrencyId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "SendAmount": 2.0,
  "SendAmountCurrencyId": "463c3615-eb3c-42f2-b173-a698284151ba",
  "ReceivedAmount": 4.0,
  "ReceivedAmountCurrencyId": "15d82586-c855-463c-b94b-9fc313eca0a0",
  "SenderCustAccountId": "854f6d5c-0d3f-4785-ac9f-4ac9456a6202",
  "SenderCurrencyId": "b0e669ba-414a-4225-811f-70c0f93d7c3e",
  "ReceiverCustAccountId": "f871c3d2-27fe-4430-9b0c-333ec5b9f529",
  "ReceiverCurrencyId": "695dbc6c-f269-4031-b7d6-32440e21b565"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfQrPaymentCalculateResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

QrPaymentCalculateResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "CorporationId": "02c144e7-48b9-4d41-bbcc-096c70a620d2",
    "CustAccountOperationTypeId": "efade7c2-19e9-4510-b509-377ed3978092",
    "SendAmount": 3.0,
    "SendAmountCurrencyId": "2226cad1-67c2-4bbb-9496-6c90504a7c3a",
    "ReceivedAmount": 5.0,
    "ReceivedAmountCurrencyId": "365335b6-e470-40e9-a7dc-96730b4acd7a",
    "ExchangeRate": 7.1,
    "MarginParity": 8.0,
    "DisplayMarginParity": 9.0,
    "OriginalParity": 10.0,
    "SenderCustAccountId": "ddcac0a1-f851-4051-9e3f-fdd09d8d6f07",
    "SenderCurrencyId": "2087d155-d640-45f5-8273-d29ae4e5f1ad",
    "ReceiverCustAccountId": "8734b3ee-4438-4218-8680-d0a05e3d12d3",
    "ReceiverCurrencyId": "07301a5c-5091-487b-abaf-4177e70ea710",
    "hasKambiyo": true
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}