POST v1/payment

Request Information

URI Parameters

None.

Body Parameters

PaymentRequestModel
NameDescriptionTypeAdditional information
PackageNo

integer

Required

CardNumber

string

Required

Month

string

Required

Year

string

Required

SecureCode

string

Required

CardOwner

string

Required

ReturnUrl

string

Required

CellNumber

string

None.

CompanyUID

string

Required

UserUID

string

Required

InstallmentCount

integer

None.

SellerCode

string

None.

SanalPosID

integer

None.

Request Format

application/json, text/json

Sample:
{
  "PackageNo": 1,
  "CardNumber": "sample string 2",
  "Month": "sample string 3",
  "Year": "sample string 4",
  "SecureCode": "sample string 5",
  "CardOwner": "sample string 6",
  "ReturnUrl": "sample string 7",
  "CellNumber": "sample string 8",
  "CompanyUID": "sample string 9",
  "UserUID": "sample string 10",
  "InstallmentCount": 11,
  "SellerCode": "sample string 12",
  "SanalPosID": 13
}

Response Information

Resource Description

BaseMetaResultModelOfPaymentResultModel
NameDescriptionTypeAdditional information
response

PaymentResultModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "IsSuccess": true,
    "ErrorCode": "sample string 2",
    "Message": "sample string 3",
    "_3DUrl": "sample string 4",
    "HtmlContent": "sample string 5",
    "ConversationId": "sample string 6"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}