POST api/{apiVersion}/MetropolCard/CreateQrCode

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

MetropolCardCreateQrCodeRequest
NameDescriptionTypeAdditional information
TransactionAmount

decimal number

None.

MerchantCode

string

None.

TerminalCode

string

None.

ProductId

integer

None.

SaleRefCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionAmount": 1.0,
  "MerchantCode": "sample string 2",
  "TerminalCode": "sample string 3",
  "ProductId": 4,
  "SaleRefCode": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfMetropolCardCreateQrCodeResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

MetropolCardCreateQrCodeResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "TransactionId": 1,
    "QRCode": "sample string 2",
    "ShortCode": "sample string 3",
    "ExpireDate": "2024-11-14T07:34:23.5797962+03:00",
    "ResponseCode": 5,
    "ResponseMessage": "sample string 6"
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}