POST api/CustomerAccountOperation/MoneyOrderCalculateExchanges

Request Information

URI Parameters

None.

Body Parameters

CustomerAccountCalculateExchangesRequest
NameDescriptionTypeAdditional information
CustAccountOperationTypeId

globally unique identifier

None.

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.

ReceiverAccountNo

string

None.

ReceiverPhoneNumber

string

None.

ReceiverCurrencyIsoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustAccountOperationTypeId": "38783fd7-0495-4b59-8376-8f4e08a4e4d7",
  "SendAmount": 2.0,
  "SendAmountCurrencyId": "210a6d39-4af2-4c10-aa7a-33d4006ad366",
  "ReceivedAmount": 4.0,
  "ReceivedAmountCurrencyId": "58d1637d-ee75-4302-975c-d1190b32783f",
  "SenderCustAccountId": "e0076ab4-05b4-459e-9b9e-93349e7615aa",
  "SenderCurrencyId": "2c66f6db-c77e-4efd-af50-704fd0579896",
  "ReceiverCustAccountId": "b910b38f-2d8c-4f49-98a9-84fda6018b0d",
  "ReceiverCurrencyId": "de10b2c0-1dd7-49bc-9261-90894984dd1c",
  "ReceiverAccountNo": "sample string 10",
  "ReceiverPhoneNumber": "sample string 11",
  "ReceiverCurrencyIsoCode": "sample string 12"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfCustomerAccountCalculateExchangesResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

CustomerAccountCalculateExchangesResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "CorporationId": "25a64369-52d7-4571-a170-e15e65f0da8a",
    "CustAccountOperationTypeId": "8233328d-4ef0-43b0-9af0-dee8d2f66997",
    "SendAmount": 3.0,
    "SendAmountCurrencyId": "fdcd2ccd-c36c-469e-a42b-6349f2521f83",
    "ReceivedAmount": 5.0,
    "ReceivedAmountCurrencyId": "988e91a6-fddf-4b01-8324-9b7b7ffe2c43",
    "ExchangeRate": 7.1,
    "MarginParity": 8.0,
    "OriginalParity": 9.0,
    "SenderCustAccountId": "abed119d-6ab0-4bd8-9184-7d2840354ca5",
    "SenderCurrencyId": "739e4e52-9d1a-4b13-9395-70372fbb72b5",
    "ReceiverCustAccountId": "3b6eda7d-b7e9-49bf-a3f9-6c6276a3c121",
    "ReceiverCurrencyId": "47069dda-076f-40d8-81ae-5bd847264958",
    "KambiyoAmount": 14.0,
    "KambiyoAmountCurrencyId": "4e2daaa0-ca8c-4d71-b476-83ed035c8797"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}