POST DusupayTransactions/CreateTransaction

Request Information

URI Parameters

None.

Body Parameters

DusupayTransanction
NameDescriptionTypeAdditional information
currency

string

None.

amount

string

None.

provider_id

string

None.

account_number

string

None.

merchant_reference

string

None.

narration

string

None.

account_name

string

None.

account_email

string

None.

voucher

string

None.

Country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "currency": "sample string 1",
  "amount": "sample string 2",
  "provider_id": "sample string 3",
  "account_number": "sample string 4",
  "merchant_reference": "sample string 5",
  "narration": "sample string 6",
  "account_name": "sample string 7",
  "account_email": "sample string 8",
  "voucher": "sample string 9",
  "Country": "sample string 10"
}

application/xml, text/xml

Sample:
<DusupayTransanction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dusupayproject.Models">
  <Country>sample string 10</Country>
  <account_email>sample string 8</account_email>
  <account_name>sample string 7</account_name>
  <account_number>sample string 4</account_number>
  <amount>sample string 2</amount>
  <currency>sample string 1</currency>
  <merchant_reference>sample string 5</merchant_reference>
  <narration>sample string 6</narration>
  <provider_id>sample string 3</provider_id>
  <voucher>sample string 9</voucher>
</DusupayTransanction>

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 'DusupayTransanction'.

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/" />