POST Api/Transactions/AddTransactionInfo

Yapılan Ödemelerin bilgilerini veritabanına kaydeder.

Request Information

URI Parameters

None.

Body Parameters

Yapılan Ödemelerin bilgisini getirir.

Transactions
NameDescriptionTypeAdditional information
TransactionGuid

string

None.

TradeableKey

string

None.

WorkspaceGuid

string

None.

PublicIdentificationKey

string

None.

ClientGuid

string

None.

TransactionDate

date

None.

TransactionType

string

None.

MerchantCode

string

None.

ConversationId

string

None.

PaymentId

string

None.

Price

string

None.

PaidPrice

string

None.

Fullname

string

None.

identityNumber

string

None.

Email

string

None.

Gsm

string

None.

Address

string

None.

City

string

None.

InvoiceAddress

string

None.

InvoiceAddressCity

string

None.

Currency

string

None.

FraudStatus

integer

None.

Status

string

None.

paymentTransactionId

string

None.

Basket

Collection of Basket

None.

Promotion

Promotion

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionGuid": "sample string 1",
  "TradeableKey": "sample string 2",
  "WorkspaceGuid": "sample string 3",
  "PublicIdentificationKey": "sample string 4",
  "ClientGuid": "sample string 5",
  "TransactionDate": "2024-12-15T02:10:21.7798137+03:00",
  "TransactionType": "sample string 7",
  "MerchantCode": "sample string 8",
  "ConversationId": "sample string 9",
  "PaymentId": "sample string 10",
  "Price": "sample string 11",
  "PaidPrice": "sample string 12",
  "Fullname": "sample string 13",
  "identityNumber": "sample string 14",
  "Email": "sample string 15",
  "Gsm": "sample string 16",
  "Address": "sample string 17",
  "City": "sample string 18",
  "InvoiceAddress": "sample string 19",
  "InvoiceAddressCity": "sample string 20",
  "Currency": "sample string 21",
  "FraudStatus": 1,
  "Status": "sample string 22",
  "paymentTransactionId": "sample string 23",
  "Basket": [
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-12-15T02:10:21.7798137+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    },
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-12-15T02:10:21.7798137+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    }
  ],
  "Promotion": {
    "PromotionProtectedGuid": "sample string 1",
    "PromotionPublicGuid": "sample string 2",
    "PromotionType": "sample string 3",
    "PromotionRatio": 4.0,
    "PromotionStartDate": "2024-12-15T02:10:21.7798137+03:00",
    "PromotionEndDate": "2024-12-15T02:10:21.7954321+03:00",
    "Description": "sample string 7",
    "isUsed": 0,
    "TradeableKey": "sample string 8"
  }
}

text/html

Sample:
{"TransactionGuid":"sample string 1","TradeableKey":"sample string 2","WorkspaceGuid":"sample string 3","PublicIdentificationKey":"sample string 4","ClientGuid":"sample string 5","TransactionDate":"2024-12-15T02:10:21.7798137+03:00","TransactionType":"sample string 7","MerchantCode":"sample string 8","ConversationId":"sample string 9","PaymentId":"sample string 10","Price":"sample string 11","PaidPrice":"sample string 12","Fullname":"sample string 13","identityNumber":"sample string 14","Email":"sample string 15","Gsm":"sample string 16","Address":"sample string 17","City":"sample string 18","InvoiceAddress":"sample string 19","InvoiceAddressCity":"sample string 20","Currency":"sample string 21","FraudStatus":1,"Status":"sample string 22","paymentTransactionId":"sample string 23","Basket":[{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-12-15T02:10:21.7798137+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"},{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-12-15T02:10:21.7798137+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"}],"Promotion":{"PromotionProtectedGuid":"sample string 1","PromotionPublicGuid":"sample string 2","PromotionType":"sample string 3","PromotionRatio":4.0,"PromotionStartDate":"2024-12-15T02:10:21.7798137+03:00","PromotionEndDate":"2024-12-15T02:10:21.7954321+03:00","Description":"sample string 7","isUsed":0,"TradeableKey":"sample string 8"}}

application/xml, text/xml

Sample:
<Transactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto.apiobjects.global">
  <Address>sample string 17</Address>
  <Basket>
    <Basket>
      <AffiliateID>sample string 17</AffiliateID>
      <AffiliateTestId>sample string 16</AffiliateTestId>
      <BasketProtectedGuid>sample string 1</BasketProtectedGuid>
      <Category1>sample string 5</Category1>
      <Category2>sample string 6</Category2>
      <ClientGuid>sample string 15</ClientGuid>
      <Count>9</Count>
      <Id>sample string 2</Id>
      <Instance>sample string 13</Instance>
      <ItemType>sample string 7</ItemType>
      <MerchantCode>sample string 3</MerchantCode>
      <Name>sample string 4</Name>
      <Price>10</Price>
      <PublicIdentificationGuid>sample string 14</PublicIdentificationGuid>
      <RegistrationDate>2024-12-15T02:10:21.7798137+03:00</RegistrationDate>
      <UnitPrice>8</UnitPrice>
      <WorkspaceGuid>sample string 11</WorkspaceGuid>
    </Basket>
    <Basket>
      <AffiliateID>sample string 17</AffiliateID>
      <AffiliateTestId>sample string 16</AffiliateTestId>
      <BasketProtectedGuid>sample string 1</BasketProtectedGuid>
      <Category1>sample string 5</Category1>
      <Category2>sample string 6</Category2>
      <ClientGuid>sample string 15</ClientGuid>
      <Count>9</Count>
      <Id>sample string 2</Id>
      <Instance>sample string 13</Instance>
      <ItemType>sample string 7</ItemType>
      <MerchantCode>sample string 3</MerchantCode>
      <Name>sample string 4</Name>
      <Price>10</Price>
      <PublicIdentificationGuid>sample string 14</PublicIdentificationGuid>
      <RegistrationDate>2024-12-15T02:10:21.7798137+03:00</RegistrationDate>
      <UnitPrice>8</UnitPrice>
      <WorkspaceGuid>sample string 11</WorkspaceGuid>
    </Basket>
  </Basket>
  <City>sample string 18</City>
  <ClientGuid>sample string 5</ClientGuid>
  <ConversationId>sample string 9</ConversationId>
  <Currency>sample string 21</Currency>
  <Email>sample string 15</Email>
  <FraudStatus>1</FraudStatus>
  <Fullname>sample string 13</Fullname>
  <Gsm>sample string 16</Gsm>
  <InvoiceAddress>sample string 19</InvoiceAddress>
  <InvoiceAddressCity>sample string 20</InvoiceAddressCity>
  <MerchantCode>sample string 8</MerchantCode>
  <PaidPrice>sample string 12</PaidPrice>
  <PaymentId>sample string 10</PaymentId>
  <Price>sample string 11</Price>
  <Promotion>
    <Description>sample string 7</Description>
    <PromotionEndDate>2024-12-15T02:10:21.7954321+03:00</PromotionEndDate>
    <PromotionProtectedGuid>sample string 1</PromotionProtectedGuid>
    <PromotionPublicGuid>sample string 2</PromotionPublicGuid>
    <PromotionRatio>4</PromotionRatio>
    <PromotionStartDate>2024-12-15T02:10:21.7798137+03:00</PromotionStartDate>
    <PromotionType>sample string 3</PromotionType>
    <TradeableKey>sample string 8</TradeableKey>
    <isUsed>notUsed</isUsed>
  </Promotion>
  <PublicIdentificationKey>sample string 4</PublicIdentificationKey>
  <Status>sample string 22</Status>
  <TradeableKey>sample string 2</TradeableKey>
  <TransactionDate>2024-12-15T02:10:21.7798137+03:00</TransactionDate>
  <TransactionGuid>sample string 1</TransactionGuid>
  <TransactionType>sample string 7</TransactionType>
  <WorkspaceGuid>sample string 3</WorkspaceGuid>
  <identityNumber>sample string 14</identityNumber>
  <paymentTransactionId>sample string 23</paymentTransactionId>
</Transactions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomResponseObjectOfTransactions
NameDescriptionTypeAdditional information
CustomResponseState

boolean

None.

CustomResponseMessage

string

None.

CustomObject

Transactions

None.

CustomRedirectionUri

string

None.

GlobalRequestToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomResponseState": true,
  "CustomResponseMessage": "sample string 2",
  "CustomObject": {
    "TransactionGuid": "sample string 1",
    "TradeableKey": "sample string 2",
    "WorkspaceGuid": "sample string 3",
    "PublicIdentificationKey": "sample string 4",
    "ClientGuid": "sample string 5",
    "TransactionDate": "2024-12-15T02:10:21.899441+03:00",
    "TransactionType": "sample string 7",
    "MerchantCode": "sample string 8",
    "ConversationId": "sample string 9",
    "PaymentId": "sample string 10",
    "Price": "sample string 11",
    "PaidPrice": "sample string 12",
    "Fullname": "sample string 13",
    "identityNumber": "sample string 14",
    "Email": "sample string 15",
    "Gsm": "sample string 16",
    "Address": "sample string 17",
    "City": "sample string 18",
    "InvoiceAddress": "sample string 19",
    "InvoiceAddressCity": "sample string 20",
    "Currency": "sample string 21",
    "FraudStatus": 1,
    "Status": "sample string 22",
    "paymentTransactionId": "sample string 23",
    "Basket": [
      {
        "BasketProtectedGuid": "sample string 1",
        "Id": "sample string 2",
        "MerchantCode": "sample string 3",
        "Name": "sample string 4",
        "Category1": "sample string 5",
        "Category2": "sample string 6",
        "ItemType": "sample string 7",
        "UnitPrice": 8.0,
        "Count": 9,
        "Price": 10.0,
        "WorkspaceGuid": "sample string 11",
        "RegistrationDate": "2024-12-15T02:10:21.899441+03:00",
        "Instance": "sample string 13",
        "PublicIdentificationGuid": "sample string 14",
        "ClientGuid": "sample string 15",
        "AffiliateTestId": "sample string 16",
        "AffiliateID": "sample string 17"
      },
      {
        "BasketProtectedGuid": "sample string 1",
        "Id": "sample string 2",
        "MerchantCode": "sample string 3",
        "Name": "sample string 4",
        "Category1": "sample string 5",
        "Category2": "sample string 6",
        "ItemType": "sample string 7",
        "UnitPrice": 8.0,
        "Count": 9,
        "Price": 10.0,
        "WorkspaceGuid": "sample string 11",
        "RegistrationDate": "2024-12-15T02:10:21.899441+03:00",
        "Instance": "sample string 13",
        "PublicIdentificationGuid": "sample string 14",
        "ClientGuid": "sample string 15",
        "AffiliateTestId": "sample string 16",
        "AffiliateID": "sample string 17"
      }
    ],
    "Promotion": {
      "PromotionProtectedGuid": "sample string 1",
      "PromotionPublicGuid": "sample string 2",
      "PromotionType": "sample string 3",
      "PromotionRatio": 4.0,
      "PromotionStartDate": "2024-12-15T02:10:21.899441+03:00",
      "PromotionEndDate": "2024-12-15T02:10:21.899441+03:00",
      "Description": "sample string 7",
      "isUsed": 0,
      "TradeableKey": "sample string 8"
    }
  },
  "CustomRedirectionUri": "sample string 3",
  "GlobalRequestToken": "sample string 4"
}

text/html

Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":{"TransactionGuid":"sample string 1","TradeableKey":"sample string 2","WorkspaceGuid":"sample string 3","PublicIdentificationKey":"sample string 4","ClientGuid":"sample string 5","TransactionDate":"2024-12-15T02:10:21.899441+03:00","TransactionType":"sample string 7","MerchantCode":"sample string 8","ConversationId":"sample string 9","PaymentId":"sample string 10","Price":"sample string 11","PaidPrice":"sample string 12","Fullname":"sample string 13","identityNumber":"sample string 14","Email":"sample string 15","Gsm":"sample string 16","Address":"sample string 17","City":"sample string 18","InvoiceAddress":"sample string 19","InvoiceAddressCity":"sample string 20","Currency":"sample string 21","FraudStatus":1,"Status":"sample string 22","paymentTransactionId":"sample string 23","Basket":[{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-12-15T02:10:21.899441+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"},{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-12-15T02:10:21.899441+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"}],"Promotion":{"PromotionProtectedGuid":"sample string 1","PromotionPublicGuid":"sample string 2","PromotionType":"sample string 3","PromotionRatio":4.0,"PromotionStartDate":"2024-12-15T02:10:21.899441+03:00","PromotionEndDate":"2024-12-15T02:10:21.899441+03:00","Description":"sample string 7","isUsed":0,"TradeableKey":"sample string 8"}},"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}

application/xml, text/xml

Sample:
<CustomResponseObjectOfTransactionslALm2WVN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto">
  <CustomObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/we.net.dto.apiobjects.global">
    <d2p1:Address>sample string 17</d2p1:Address>
    <d2p1:Basket>
      <d2p1:Basket>
        <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
        <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
        <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
        <d2p1:Category1>sample string 5</d2p1:Category1>
        <d2p1:Category2>sample string 6</d2p1:Category2>
        <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
        <d2p1:Count>9</d2p1:Count>
        <d2p1:Id>sample string 2</d2p1:Id>
        <d2p1:Instance>sample string 13</d2p1:Instance>
        <d2p1:ItemType>sample string 7</d2p1:ItemType>
        <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:Price>10</d2p1:Price>
        <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
        <d2p1:RegistrationDate>2024-12-15T02:10:21.899441+03:00</d2p1:RegistrationDate>
        <d2p1:UnitPrice>8</d2p1:UnitPrice>
        <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
      </d2p1:Basket>
      <d2p1:Basket>
        <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
        <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
        <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
        <d2p1:Category1>sample string 5</d2p1:Category1>
        <d2p1:Category2>sample string 6</d2p1:Category2>
        <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
        <d2p1:Count>9</d2p1:Count>
        <d2p1:Id>sample string 2</d2p1:Id>
        <d2p1:Instance>sample string 13</d2p1:Instance>
        <d2p1:ItemType>sample string 7</d2p1:ItemType>
        <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
        <d2p1:Name>sample string 4</d2p1:Name>
        <d2p1:Price>10</d2p1:Price>
        <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
        <d2p1:RegistrationDate>2024-12-15T02:10:21.899441+03:00</d2p1:RegistrationDate>
        <d2p1:UnitPrice>8</d2p1:UnitPrice>
        <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
      </d2p1:Basket>
    </d2p1:Basket>
    <d2p1:City>sample string 18</d2p1:City>
    <d2p1:ClientGuid>sample string 5</d2p1:ClientGuid>
    <d2p1:ConversationId>sample string 9</d2p1:ConversationId>
    <d2p1:Currency>sample string 21</d2p1:Currency>
    <d2p1:Email>sample string 15</d2p1:Email>
    <d2p1:FraudStatus>1</d2p1:FraudStatus>
    <d2p1:Fullname>sample string 13</d2p1:Fullname>
    <d2p1:Gsm>sample string 16</d2p1:Gsm>
    <d2p1:InvoiceAddress>sample string 19</d2p1:InvoiceAddress>
    <d2p1:InvoiceAddressCity>sample string 20</d2p1:InvoiceAddressCity>
    <d2p1:MerchantCode>sample string 8</d2p1:MerchantCode>
    <d2p1:PaidPrice>sample string 12</d2p1:PaidPrice>
    <d2p1:PaymentId>sample string 10</d2p1:PaymentId>
    <d2p1:Price>sample string 11</d2p1:Price>
    <d2p1:Promotion>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:PromotionEndDate>2024-12-15T02:10:21.899441+03:00</d2p1:PromotionEndDate>
      <d2p1:PromotionProtectedGuid>sample string 1</d2p1:PromotionProtectedGuid>
      <d2p1:PromotionPublicGuid>sample string 2</d2p1:PromotionPublicGuid>
      <d2p1:PromotionRatio>4</d2p1:PromotionRatio>
      <d2p1:PromotionStartDate>2024-12-15T02:10:21.899441+03:00</d2p1:PromotionStartDate>
      <d2p1:PromotionType>sample string 3</d2p1:PromotionType>
      <d2p1:TradeableKey>sample string 8</d2p1:TradeableKey>
      <d2p1:isUsed>notUsed</d2p1:isUsed>
    </d2p1:Promotion>
    <d2p1:PublicIdentificationKey>sample string 4</d2p1:PublicIdentificationKey>
    <d2p1:Status>sample string 22</d2p1:Status>
    <d2p1:TradeableKey>sample string 2</d2p1:TradeableKey>
    <d2p1:TransactionDate>2024-12-15T02:10:21.899441+03:00</d2p1:TransactionDate>
    <d2p1:TransactionGuid>sample string 1</d2p1:TransactionGuid>
    <d2p1:TransactionType>sample string 7</d2p1:TransactionType>
    <d2p1:WorkspaceGuid>sample string 3</d2p1:WorkspaceGuid>
    <d2p1:identityNumber>sample string 14</d2p1:identityNumber>
    <d2p1:paymentTransactionId>sample string 23</d2p1:paymentTransactionId>
  </CustomObject>
  <CustomRedirectionUri>sample string 3</CustomRedirectionUri>
  <CustomResponseMessage>sample string 2</CustomResponseMessage>
  <CustomResponseState>true</CustomResponseState>
  <GlobalRequestToken>sample string 4</GlobalRequestToken>
</CustomResponseObjectOfTransactionslALm2WVN>