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": "33c21207-9e0b-4c4d-91e3-10f7e12a5835", "ReceivedAmount": 4.0, "ReceivedAmountCurrencyId": "e9a680c6-54db-4091-bef8-8de3227a3d6a", "SenderCustAccountId": "d89d9cca-5526-4365-b0a6-3895948c159b", "SenderCurrencyId": "dc5c9e0a-c03c-4c5e-bc92-fd17991d6c45", "ReceiverCustAccountId": "241ad4eb-3a99-486e-aca9-e9a77fc4f825", "ReceiverCurrencyId": "0dcd359c-53df-4764-b97c-f7bb3bb03018" }
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": "07ca0434-622a-4023-ac67-41db7f249b8e", "CustAccountOperationTypeId": "b4eb4608-a00c-48de-b89a-79485b477c43", "SendAmount": 3.0, "SendAmountCurrencyId": "5b561af9-bf56-45bf-889e-40c60e06be8f", "ReceivedAmount": 5.0, "ReceivedAmountCurrencyId": "2ad88c52-c6fe-467a-8061-dcc586d4deb5", "ExchangeRate": 7.1, "MarginParity": 8.0, "DisplayMarginParity": 9.0, "OriginalParity": 10.0, "SenderCustAccountId": "3c861b02-0bb8-4b30-bff4-b0361e40e6d3", "SenderCurrencyId": "a576c8ae-01f0-4890-8a09-68ad0c46232d", "ReceiverCustAccountId": "1d9fa128-615b-4956-a083-997ded38543a", "ReceiverCurrencyId": "b92a0237-0d55-4205-b3b8-8eb54505f854", "hasKambiyo": true }, "IsShowMessage": true, "IsShowRateAndReview": true }