POST v1/payment

Request Information

URI Parameters

None.

Body Parameters

PaymentRequestModel
NameDescriptionTypeAdditional information
PackageNo

integer

None.

ShipmentUID

string

None.

CardNumber

string

Required

Month

string

Required

Year

string

Required

SecureCode

string

Required

CardOwner

string

Required

ReturnUrl

string

Required

CellNumber

string

None.

CompanyUID

string

None.

UserUID

string

None.

InstallmentCount

integer

None.

SellerCode

string

None.

SanalPosID

integer

None.

OfferID

integer

None.

ExternalData

string

None.

Request Format

application/json, text/json

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

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"
  }
}