POST api/{apiVersion}/QrPayment/GetQrPaymentCalculate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
QrPaymentCalculateRequestName | Description | Type | Additional 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": "8e7a963e-f2bc-4709-9973-03caab84b0c3", "ReceivedAmount": 4.0, "ReceivedAmountCurrencyId": "29007270-a88b-464d-b5d9-0c6f7632817d", "SenderCustAccountId": "610ce739-54c3-492d-8960-96d7ba5d622e", "SenderCurrencyId": "3b846b08-bf6c-4137-aa4b-d2cfc165ed48", "ReceiverCustAccountId": "0765f888-c66c-44bd-ba81-50133e1546bd", "ReceiverCurrencyId": "419f0ebf-73eb-43ea-b09f-81e6e10e4c55" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfQrPaymentCalculateResponseName | Description | Type | Additional 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": "972aff7b-2d01-47cb-9823-3d672b3be815", "CustAccountOperationTypeId": "cad6b78d-a9d1-4ae2-ac82-0332915719e2", "SendAmount": 3.0, "SendAmountCurrencyId": "9d18b8da-2145-4524-834d-10c7ff371820", "ReceivedAmount": 5.0, "ReceivedAmountCurrencyId": "c6b201d9-4554-4528-af71-102bc7748394", "ExchangeRate": 7.1, "MarginParity": 8.0, "DisplayMarginParity": 9.0, "OriginalParity": 10.0, "SenderCustAccountId": "3b622e68-35a6-4d9f-8955-fc235f1250d5", "SenderCurrencyId": "da9a1ce8-2a4d-42fb-a270-2c0e5d98f97d", "ReceiverCustAccountId": "e087474e-f7b0-4850-97bc-163727ab3b56", "ReceiverCurrencyId": "60f9ff5d-827f-4889-beb8-bd6c7775df88", "hasKambiyo": true }, "IsShowMessage": true, "IsShowRateAndReview": true }