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": "87516a32-67b4-4437-bbd3-48b17e6ab80d", "ReceivedAmount": 4.0, "ReceivedAmountCurrencyId": "2d91142b-54d3-46a1-90b4-0818c4ea72a0", "SenderCustAccountId": "6c5fc23b-a8bd-47b5-b878-68ba690c58f4", "SenderCurrencyId": "c1493643-6e27-4f84-9618-b903bcaf5b42", "ReceiverCustAccountId": "dc6af60c-37d0-4197-a248-0b58c4615c80", "ReceiverCurrencyId": "d70f5717-ba99-4433-aa87-e69d756042e0" }
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": "42534a73-1e94-4d4e-815f-03ca69fab456", "CustAccountOperationTypeId": "e5cf87a4-f0da-4a9b-bf06-6154baff55b9", "SendAmount": 3.0, "SendAmountCurrencyId": "4c29f51b-25b6-4198-9b7e-fda396bbb777", "ReceivedAmount": 5.0, "ReceivedAmountCurrencyId": "851532a8-3f47-4125-8e3f-3339e2950597", "ExchangeRate": 7.1, "MarginParity": 8.0, "DisplayMarginParity": 9.0, "OriginalParity": 10.0, "SenderCustAccountId": "84d518df-fe72-4756-bb36-02c8398d6bf6", "SenderCurrencyId": "7859115c-3d13-4bfe-bf6e-74a68a1513bd", "ReceiverCustAccountId": "7483a0cc-cbab-4386-8502-98f24b3a9912", "ReceiverCurrencyId": "424957dd-f97e-436d-bb22-26539b385a7e", "hasKambiyo": true }, "IsShowMessage": true, "IsShowRateAndReview": true }