Versions Compared

Key

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

...

Parameter

Data type

Description


 Request

 Text

 executeXpay

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

ProviderToken

Token

Api token of provider you retrieve his services.

Mandatory

Amount

Money

Total amount in currency selected.

Mandatory

Currency

Text

From table of options as accepted from 3G.

Mandatory

Services

Number

Service type number according to the options accepted from 3G.

Mandatory

Description

Text

The description of the payment made.

Mandatory

VirtualCardRef
intVirtual card reference idOptional

Request example:



Code Block
languagexml
titlerequest example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <Request>executeXpay</Request>
  <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken>
  <ProviderToken>CA55CE70-770B-4DFC-BBD0-D02117914C5D</ProviderToken>
  <Allocations>
	  <Allocation>
		  <ProviderToken>DCBD0E43-1AE6-4758-8641-3B7A7D52ABCD</ProviderToken>
		  <Amount>2</Amount>
		  <Currency>USD</Currency>
		  <Service>6264</Service>
		  <Description>Payment for flight</Description>
	  </Allocation>
	   <Allocation>
		  <ProviderToken>47DB152F-4A29-44F2-ADE1-3B7A7D52ABCD</ProviderToken>
		  <Amount>1</Amount>
		  <Currency>USD</Currency>
		  <Service>202</Service>
		  <Description>Payment for flight</Description>
	  </Allocation>
  </Allocations>
</API3G>

...