POST Bank/PayFromWalletToBank

Request Information

URI Parameters

None.

Body Parameters

PayInput
NameDescriptionTypeAdditional information
BeneficiaryPhoneNumber

string

None.

Amount

decimal number

None.

TransactionID

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BeneficiaryPhoneNumber": "sample string 1",
  "Amount": 2.0,
  "TransactionID": "sample string 3",
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<PayInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashBridgerApi.Controllers">
  <Amount>2</Amount>
  <BeneficiaryPhoneNumber>sample string 1</BeneficiaryPhoneNumber>
  <Token>sample string 4</Token>
  <TransactionID>sample string 3</TransactionID>
</PayInput>

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

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>