POST api/v1/aeg/aeg-payment

Request Information

URI Parameters

None.

Body Parameters

AEGPaymentRequest
NameDescriptionTypeAdditional information
Amount

decimal number

None.

DeviceSerialNumber

string

None.

RequestId

string

Required

Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9.|/-]+$))

CountryId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "DeviceSerialNumber": "sample string 2",
  "RequestId": "sample string 3",
  "CountryId": "sample string 4"
}

application/xml, text/xml

Sample:
<AEGPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects">
  <CountryId>sample string 4</CountryId>
  <RequestId>sample string 3</RequestId>
  <Amount>1</Amount>
  <DeviceSerialNumber>sample string 2</DeviceSerialNumber>
</AEGPaymentRequest>

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.