POST api/{apiVersion}/MetropolCard/SaleRequest

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

MetropolCardSaleRequest
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

Amount

decimal number

None.

MetropolCardOperationDetailId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "501e02b2-93af-4917-b4ab-50b4784b5f47",
  "Amount": 2.0,
  "MetropolCardOperationDetailId": "b1332b0a-e802-4324-bdae-3e23cb71b19e"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfMetropolCardSaleRequestResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

MetropolCardSaleRequestResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "Amount": 1.0,
    "CashBackAmount": 2.0,
    "Parity": 3.0,
    "CurrencyName": "sample string 4"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}