POST api/{apiVersion}/Calculate/Do
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
CalculateRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
RecipientCorporationId | globally unique identifier |
None. |
|
RecipientCountryId | globally unique identifier |
None. |
|
TransactionTargetOptionId | globally unique identifier |
None. |
|
ReceivedAmountWithoutExpense | decimal number |
None. |
|
CustomerAccountId | globally unique identifier |
None. |
|
ReceivedPaymentAmount | decimal number |
None. |
|
ReceivedPaymentAmountCurrencyId | globally unique identifier |
None. |
|
Amount | decimal number |
None. |
|
AmountCurrencyId | globally unique identifier |
None. |
|
ChangedAmount | ChangedAmount |
None. |
|
TransactionTargetOptionCode | string |
None. |
|
RecipientIBAN | string |
None. |
|
RecipientAccountNumber | string |
None. |
|
RecipientCardNumber | string |
None. |
|
RecipientABACode | string |
None. |
|
SenderGsm | string |
None. |
|
RemittanceBankCode | string |
None. |
|
Channel | string |
None. |
|
RecipientGSMNo | string |
None. |
|
WalletOperatorId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "e93782ec-fae4-45aa-b4d3-79c6839346ee", "RecipientCorporationId": "2f9f441c-7c17-442f-8927-b3405fff6e84", "RecipientCountryId": "8d5fa641-405d-4a89-a30b-b5ea8adc9cab", "TransactionTargetOptionId": "d0a11e01-6a73-4662-8acb-293d28fba90a", "ReceivedAmountWithoutExpense": 5.0, "CustomerAccountId": "2e7a59e2-c3b6-475f-8877-6670282b435d", "ReceivedPaymentAmount": 7.0, "ReceivedPaymentAmountCurrencyId": "2c7402f4-4b2f-45af-8722-7540d916f968", "Amount": 9.0, "AmountCurrencyId": "cb7d8729-13ad-4da7-93f5-f8b2456c4491", "ChangedAmount": 0, "TransactionTargetOptionCode": "sample string 11", "RecipientIBAN": "sample string 12", "RecipientAccountNumber": "sample string 13", "RecipientCardNumber": "sample string 14", "RecipientABACode": "sample string 15", "SenderGsm": "sample string 16", "RemittanceBankCode": "sample string 17", "Channel": "sample string 18", "RecipientGSMNo": "sample string 19", "WalletOperatorId": "8732961e-8cc3-459d-bb1a-69518965fb14" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfCalculateResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Response | CalculateResponse |
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": "3332e738-d1e2-4aad-a537-da2e0a92ddd0", "ReceivedAmount": 3.0, "ReceivedAmountCurrencyId": "6139ce7b-9112-403f-bd2a-a659a12a7c85", "ReceivedAmountCurrencyIdName": "sample string 5", "ReceivedExpenseAmount": 6.0, "ReceivedExpenseAmountCurrencyId": "2b67aabe-ca40-4663-97f1-2c28e05ef6f8", "ExpenseAmount": 8.0, "ExpenseAmountCurrencyId": "f1f6fcbd-8e5e-430b-b881-35d3930f0931", "ExpenseAmountCurrencyIdName": "sample string 10", "CalculatedExpenseAmount": 11.0, "CalculatedExpenseAmountCurrencyId": "43f66e4d-6639-409c-a05e-a81990c9da50", "TotalReceivedAmount": 13.0, "TotalReceivedAmountCurrencyId": "076874f4-7878-45fb-84d2-316406bd9e76", "Parity": 15.0, "NonCampaignExpenseAmount": 16.0, "NonCampaignExpenseAmountCurrencyId": "f1f6fcbd-8e5e-430b-b881-35d3930f0931", "NonCampaignExpenseAmountCurrencyIdName": "sample string 10", "CampaignSavingFromExpenseAmount": 17.0, "CampaignSavingFromExpenseAmountCurrencyId": "f1f6fcbd-8e5e-430b-b881-35d3930f0931", "CampaignSavingFromExpenseAmountCurrencyIdName": "sample string 10", "HasCampaignApplied": true, "NonCampaignTotalReceivedAmount": 18.0, "NonCampaignTotalReceivedAmountCurrencyId": "076874f4-7878-45fb-84d2-316406bd9e76", "ReceivedPaymentAmount": 19.0, "ReceivedPaymentAmountCurrencyId": "a1ce8091-6e5d-4548-bf96-971794724b82", "ReceivedPaymentAmountParity": 21.0, "ReceivedAmountWithoutExpense": 22.0, "ReceivedAmountWithoutExpenseCurrencyId": "f5623def-6362-4f34-a4f2-0503e81f9000", "HasKambiyo": true, "IsSmallerThanOne": true, "IsCorporationAcceptsDecimal": true, "IsInsufficientFunds": true, "AmountCurrencyCode": "sample string 28", "CorporationParity": 1.0, "UptionParity": 1.0, "Status": 1, "Message": "sample string 29", "IntegratedSessionIdentity": "sample string 30", "CampaignContents": [ { "OrderNumber": 1, "Content": "sample string 2", "PaidAmountContent": "sample string 3" }, { "OrderNumber": 1, "Content": "sample string 2", "PaidAmountContent": "sample string 3" } ] }, "IsShowMessage": true, "IsShowRateAndReview": true }