POST api/Payment/CreateFundAC

Request Information

URI Parameters

None.

Body Parameters

FundAC
NameDescriptionTypeAdditional information
contact_id

string

None.

account_type

string

None.

bank_account

BankAccount

None.

Request Formats

application/json, text/json

Sample:
{
  "contact_id": "sample string 1",
  "account_type": "sample string 2",
  "bank_account": {
    "ifsc": "sample string 1",
    "name": "sample string 2",
    "account_number": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<FundAC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BuyBackWebApi.Models">
  <account_type>sample string 2</account_type>
  <bank_account>
    <account_number>sample string 3</account_number>
    <ifsc>sample string 1</ifsc>
    <name>sample string 2</name>
  </bank_account>
  <contact_id>sample string 1</contact_id>
</FundAC>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FundACRes
NameDescriptionTypeAdditional information
id

string

None.

entity

string

None.

contact_id

string

None.

account_type

string

None.

bank_account

BankAccountRES

None.

active

boolean

None.

batch_id

Object

None.

created_at

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "entity": "sample string 2",
  "contact_id": "sample string 3",
  "account_type": "sample string 4",
  "bank_account": {
    "ifsc": "sample string 1",
    "bank_name": "sample string 2",
    "name": "sample string 3",
    "account_number": "sample string 4"
  },
  "active": true,
  "batch_id": {},
  "created_at": 7
}

application/xml, text/xml

Sample:
<FundACRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BuyBackWebApi.Models">
  <account_type>sample string 4</account_type>
  <active>true</active>
  <bank_account>
    <account_number>sample string 4</account_number>
    <bank_name>sample string 2</bank_name>
    <ifsc>sample string 1</ifsc>
    <name>sample string 3</name>
  </bank_account>
  <batch_id />
  <contact_id>sample string 3</contact_id>
  <created_at>7</created_at>
  <entity>sample string 2</entity>
  <id>sample string 1</id>
</FundACRes>