POST AirtelMoneyDrc/Disbursement?Country={Country}&Currency={Currency}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Country

string

Required

Currency

string

Required

Body Parameters

AirtelDisbursement
NameDescriptionTypeAdditional information
payee

Payee

None.

reference

string

None.

pin

string

None.

transaction

Transaction

None.

Request Formats

application/json, text/json

Sample:
{
  "payee": {
    "msisdn": 1
  },
  "reference": "sample string 1",
  "pin": "sample string 2",
  "transaction": {
    "amount": 1,
    "id": "sample string 2",
    "country": "sample string 3",
    "currency": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<AirtelDisbursement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashBridgerApi.Models">
  <payee>
    <msisdn>1</msisdn>
  </payee>
  <pin>sample string 2</pin>
  <reference>sample string 1</reference>
  <transaction>
    <amount>1</amount>
    <country>sample string 3</country>
    <currency>sample string 4</currency>
    <id>sample string 2</id>
  </transaction>
</AirtelDisbursement>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AirtelDisbursement'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />