POST api/buy-expresspay/v1/new-transaction

Request Information

URI Parameters

None.

Body Parameters

PaymentTransaction
NameDescriptionTypeAdditional information
Id

integer

None.

SourceType

integer

None.

Source

string

String length: inclusive between 0 and 500

PaymentProviderType

integer

None.

PaymentProvider

string

String length: inclusive between 0 and 500

Serial

string

Required

String length: inclusive between 0 and 25

Email

string

String length: inclusive between 0 and 500

Firstname

string

String length: inclusive between 0 and 250

Lastname

string

String length: inclusive between 0 and 250

Phone

string

Required

String length: inclusive between 0 and 20

MobileNetwork

string

Required

String length: inclusive between 0 and 120

MobileMoneyAuthToken

string

Required

String length: inclusive between 0 and 20

DateCreated

date

Required

ResponseDate

date

Required

PaymentFor

string

Required

String length: inclusive between 0 and 200

DateProcessed

date

Required

Currency

string

Required

String length: inclusive between 0 and 10

TotalAmount

decimal number

Required

UnitAmount

decimal number

Required

Commission

decimal number

Required

TotalVouchersPurchased

integer

Required

PlatformIssuedFrom

integer

Required

ReferenceID

integer

Required

TransactionReferenceID

integer

Required

TransactionReference

string

Required

String length: inclusive between 0 and 500

Description

string

Required

String length: inclusive between 0 and 500

RedirectURL

string

Required

String length: inclusive between 0 and 500

TokenStatus

integer

Required

TokenStatusText

string

String length: inclusive between 0 and 500

Token

string

Required

String length: inclusive between 0 and 500

Result

integer

Required

ResultsText

string

String length: inclusive between 0 and 500

TransactionID

string

String length: inclusive between 0 and 500

ResponseBody

string

None.

SoldByUserEmail

string

String length: inclusive between 0 and 500

SoldByUserName

string

String length: inclusive between 0 and 500

SoldByUserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SourceType": 2,
  "Source": "sample string 3",
  "PaymentProviderType": 4,
  "PaymentProvider": "sample string 5",
  "Serial": "sample string 6",
  "Email": "sample string 7",
  "Firstname": "sample string 8",
  "Lastname": "sample string 9",
  "Phone": "sample string 10",
  "MobileNetwork": "sample string 11",
  "MobileMoneyAuthToken": "sample string 12",
  "DateCreated": "2025-12-10T09:36:32.7767308+00:00",
  "ResponseDate": "2025-12-10T09:36:32.7767308+00:00",
  "PaymentFor": "sample string 15",
  "DateProcessed": "2025-12-10T09:36:32.7767308+00:00",
  "Currency": "sample string 17",
  "TotalAmount": 18.0,
  "UnitAmount": 19.0,
  "Commission": 20.0,
  "TotalVouchersPurchased": 21,
  "PlatformIssuedFrom": 22,
  "ReferenceID": 23,
  "TransactionReferenceID": 24,
  "TransactionReference": "sample string 25",
  "Description": "sample string 26",
  "RedirectURL": "sample string 27",
  "TokenStatus": 28,
  "TokenStatusText": "sample string 29",
  "Token": "sample string 30",
  "Result": 31,
  "ResultsText": "sample string 32",
  "TransactionID": "sample string 33",
  "ResponseBody": "sample string 34",
  "SoldByUserEmail": "sample string 35",
  "SoldByUserName": "sample string 36",
  "SoldByUserId": 37
}

application/xml, text/xml

Sample:
<PaymentTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables">
  <Commission>20</Commission>
  <Currency>sample string 17</Currency>
  <DateCreated>2025-12-10T09:36:32.7767308+00:00</DateCreated>
  <DateProcessed>2025-12-10T09:36:32.7767308+00:00</DateProcessed>
  <Description>sample string 26</Description>
  <Email>sample string 7</Email>
  <Firstname>sample string 8</Firstname>
  <Id>1</Id>
  <Lastname>sample string 9</Lastname>
  <MobileMoneyAuthToken>sample string 12</MobileMoneyAuthToken>
  <MobileNetwork>sample string 11</MobileNetwork>
  <PaymentFor>sample string 15</PaymentFor>
  <PaymentProvider>sample string 5</PaymentProvider>
  <PaymentProviderType>4</PaymentProviderType>
  <Phone>sample string 10</Phone>
  <PlatformIssuedFrom>22</PlatformIssuedFrom>
  <RedirectURL>sample string 27</RedirectURL>
  <ReferenceID>23</ReferenceID>
  <ResponseBody>sample string 34</ResponseBody>
  <ResponseDate>2025-12-10T09:36:32.7767308+00:00</ResponseDate>
  <Result>31</Result>
  <ResultsText>sample string 32</ResultsText>
  <Serial>sample string 6</Serial>
  <SoldByUserEmail>sample string 35</SoldByUserEmail>
  <SoldByUserId>37</SoldByUserId>
  <SoldByUserName>sample string 36</SoldByUserName>
  <Source>sample string 3</Source>
  <SourceType>2</SourceType>
  <Token>sample string 30</Token>
  <TokenStatus>28</TokenStatus>
  <TokenStatusText>sample string 29</TokenStatusText>
  <TotalAmount>18</TotalAmount>
  <TotalVouchersPurchased>21</TotalVouchersPurchased>
  <TransactionID>sample string 33</TransactionID>
  <TransactionReference>sample string 25</TransactionReference>
  <TransactionReferenceID>24</TransactionReferenceID>
  <UnitAmount>19</UnitAmount>
</PaymentTransaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.