POST api/Payfort/GenerateMobileToken

Request Information

URI Parameters

None.

Body Parameters

MobileTokenModel
NameDescriptionTypeAdditional information
DeviceId

string

None.

CountryId

integer

None.

PaymentProductId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "CountryId": 2,
  "PaymentProductId": 1
}

application/xml, text/xml

Sample:
<MobileTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models">
  <CountryId>2</CountryId>
  <DeviceId>sample string 1</DeviceId>
  <PaymentProductId>1</PaymentProductId>
</MobileTokenModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.