POST api/{apiVersion}/Calculate/Do

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

CalculateRequest
NameDescriptionTypeAdditional 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": "e878aee1-00d2-4588-ac0b-72587cdf90a8",
  "RecipientCorporationId": "6fca3947-f58d-453b-b8ee-e3637b3ca740",
  "RecipientCountryId": "4e9f4907-3253-49bf-b898-ad61b47f1a74",
  "TransactionTargetOptionId": "7a0300ea-dac4-448d-8a26-27b7ca5bfb86",
  "ReceivedAmountWithoutExpense": 5.0,
  "CustomerAccountId": "3596a158-c09f-41c0-a6c6-11121d011417",
  "ReceivedPaymentAmount": 7.0,
  "ReceivedPaymentAmountCurrencyId": "072d06ba-f439-44f2-8dac-be26b2c2667e",
  "Amount": 9.0,
  "AmountCurrencyId": "bcb2e2f3-5c85-41ee-ab2f-7772e2e2bbdc",
  "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": "8698a050-cda8-45c9-8005-5b35a1b0dc04"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfCalculateResponse
NameDescriptionTypeAdditional 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": "224b5e70-d18e-4afa-a832-29878cdbd5c3",
    "ReceivedAmount": 3.0,
    "ReceivedAmountCurrencyId": "bee7fca0-5173-4b51-9ec2-1e87dda90a3d",
    "ReceivedAmountCurrencyIdName": "sample string 5",
    "ReceivedExpenseAmount": 6.0,
    "ReceivedExpenseAmountCurrencyId": "1e5619af-700b-4d2e-8fe6-6ae0cf6a57ce",
    "ExpenseAmount": 8.0,
    "ExpenseAmountCurrencyId": "2d1d6102-7ac0-4735-b0bb-05064b7b3afc",
    "ExpenseAmountCurrencyIdName": "sample string 10",
    "CalculatedExpenseAmount": 11.0,
    "CalculatedExpenseAmountCurrencyId": "6aed1180-3c4f-4dbd-924f-2647722c8d6d",
    "TotalReceivedAmount": 13.0,
    "TotalReceivedAmountCurrencyId": "25823421-dfd2-41f1-81af-a18531327383",
    "Parity": 15.0,
    "NonCampaignExpenseAmount": 16.0,
    "NonCampaignExpenseAmountCurrencyId": "2d1d6102-7ac0-4735-b0bb-05064b7b3afc",
    "NonCampaignExpenseAmountCurrencyIdName": "sample string 10",
    "CampaignSavingFromExpenseAmount": 17.0,
    "CampaignSavingFromExpenseAmountCurrencyId": "2d1d6102-7ac0-4735-b0bb-05064b7b3afc",
    "CampaignSavingFromExpenseAmountCurrencyIdName": "sample string 10",
    "HasCampaignApplied": true,
    "NonCampaignTotalReceivedAmount": 18.0,
    "NonCampaignTotalReceivedAmountCurrencyId": "25823421-dfd2-41f1-81af-a18531327383",
    "ReceivedPaymentAmount": 19.0,
    "ReceivedPaymentAmountCurrencyId": "b3065255-c458-44d5-894a-68e6ea59ed46",
    "ReceivedPaymentAmountParity": 21.0,
    "ReceivedAmountWithoutExpense": 22.0,
    "ReceivedAmountWithoutExpenseCurrencyId": "9d530183-1edb-43c8-a860-f5841ecb734f",
    "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
}