POST api/paynamics/sendPayment

Request Information

URI Parameters

None.

Body Parameters

Payments
NameDescriptionTypeAdditional information
Paymentinfo

Paymentinfo

None.

PaymentItem

Collection of PaymentItem

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentinfo": {
    "fname": "sample string 1",
    "lname": "sample string 2",
    "mname": "sample string 3",
    "addr1": "sample string 4",
    "idCardNumber": "sample string 5",
    "city": "sample string 6",
    "state": "sample string 7",
    "country": "sample string 8",
    "zip": "sample string 9",
    "email": "sample string 10",
    "phone": "sample string 11",
    "mobile": "sample string 12",
    "amount": "sample string 13",
    "currency": "sample string 14",
    "pmethod": "sample string 15"
  },
  "paymentItem": [
    {
      "ptype": "sample string 1",
      "amount": "sample string 2"
    },
    {
      "ptype": "sample string 1",
      "amount": "sample string 2"
    }
  ]
}

text/html

Sample:
{"paymentinfo":{"fname":"sample string 1","lname":"sample string 2","mname":"sample string 3","addr1":"sample string 4","idCardNumber":"sample string 5","city":"sample string 6","state":"sample string 7","country":"sample string 8","zip":"sample string 9","email":"sample string 10","phone":"sample string 11","mobile":"sample string 12","amount":"sample string 13","currency":"sample string 14","pmethod":"sample string 15"},"paymentItem":[{"ptype":"sample string 1","amount":"sample string 2"},{"ptype":"sample string 1","amount":"sample string 2"}]}

application/xml, text/xml

Sample:
<Payments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Api.Controllers">
  <PaymentItem>
    <PaymentItem>
      <amount>sample string 2</amount>
      <ptype>sample string 1</ptype>
    </PaymentItem>
    <PaymentItem>
      <amount>sample string 2</amount>
      <ptype>sample string 1</ptype>
    </PaymentItem>
  </PaymentItem>
  <Paymentinfo>
    <addr1>sample string 4</addr1>
    <amount>sample string 13</amount>
    <city>sample string 6</city>
    <country>sample string 8</country>
    <currency>sample string 14</currency>
    <email>sample string 10</email>
    <fname>sample string 1</fname>
    <idCardNumber>sample string 5</idCardNumber>
    <lname>sample string 2</lname>
    <mname>sample string 3</mname>
    <mobile>sample string 12</mobile>
    <phone>sample string 11</phone>
    <pmethod>sample string 15</pmethod>
    <state>sample string 7</state>
    <zip>sample string 9</zip>
  </Paymentinfo>
</Payments>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>