Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Data type

Description


 Request

 Text

 updateToken

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

TransactionToken

Token

Transaction token as accepted from the createToken.

Mandatory

PaymentAmount

money

Transaction amount, up to 2 decimal

Optional

PaymentMarkupMDRFee

money

Transaction Markup MDR Fee, up to 2 decimal

Optional

CompanyRef

Text

Company reference number

Optional

CustomerEmail

Text

E-mail of the customer to send the link

Optional

CustomerFirstName

Text

Customer name

Optional

CustomerLastName

Text

Customer last name

Optional

CustomerAddress

Text

Customer address

Optional

CustomerCity

Text

Customer city

Optional

CustomerCountry

ISO code

Customer country ISO 2 letter code
http://en.wikipedia.org/wiki/ISO_3166-1

Optional

CustomerDialCode

ISO code

Customer country ISO 2 letter code
http://en.wikipedia.org/wiki/ISO_3166-1

Optional

CustomerPhone

Number

Customer Phone number

Optional

CustomerZip

Text

Customer zip code

Optional

CompanyAccRef

Text

Internal accounting reference number

Optional

UserToken

Token

To define who created the transaction

Optional

AdditionalFields

JSON

Additional transaction props

Optional

...

Code Block
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken>
  <Request>updateToken</Request>
  <TransactionToken>EC9E975A-A7A2-4031-8972-BF123CDD9EDD</TransactionToken>
  <PaymentAmount>44</PaymentAmount>
  <PaymentMarkupMDRFee>2.93</PaymentMarkupMDRFee>
  <CompanyRef>DPO1212</CompanyRef>
  <CustomerEmail>test@directpay.online</CustomerEmail>
  <CustomerFirstName>Steven dsa</CustomerFirstName>
  <CustomerLastName>Muallem</CustomerLastName>
  <CustomerAddress>Rose Avenue 6 </CustomerAddress>
  <CustomerCity>Nairobi</CustomerCity>
  <CustomerCountry>KE</CustomerCountry>
  <CustomerDialCode>KE</CustomerDialCode>
  <CustomerPhone>4433332312</CustomerPhone>
  <CustomerZip>121212</CustomerZip>
  <CompanyAccRef>DPO3232</CompanyAccRef>
  <UserToken>3DBC6853-8352-4902-8370-C6B38C379999E</UserToken>
  <AdditionalFields>{
					 "TravTransTypeCd":"TICKET_PURCHASE",
					 "ServClassCd":"1A",
					 "DocTypeCd":"ADDITIONAL_COLLECTION", 
					 "IATACarrierCd":"1234",
					 "IATAAgcyNbr":"465657",
					 "TktCarrierNm":"KenyaAirways",
					 "TktIssCityNm":"Nairobi",
					 "PassCnt":"3",
					 "ConjTktInd":"12233",
					 "ElecTktInd":"1A848F",
					 "ExchTktNbr":"1A848E5",
					 "SegIATACarrierCd":"MN532",
					 "FareBasisTxt":"1",
					 "FlgtNbr":"1A848EF"
					}
  </AdditionalFields>
</API3G>

...