POST api/supplier/agency/topup/create

Request Information

URI Parameters

None.

Body Parameters

AgentTopupCreateRequest
NameDescriptionTypeAdditional information
AgentId

integer

None.

Amount

decimal number

None.

Currency

string

None.

TransactionType

string

None.

BankAccount

string

None.

PaymentMethod

string

None.

PaymentDate

date

None.

Collector

string

None.

Description

string

None.

Note

string

None.

RefNo

string

None.

DebitAccount

string

None.

CreditAccount

string

None.

AutoApprove

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentId": 1,
  "Amount": 2.0,
  "Currency": "sample string 3",
  "TransactionType": "sample string 4",
  "BankAccount": "sample string 5",
  "PaymentMethod": "sample string 6",
  "PaymentDate": "2026-07-14T17:54:18.4192946+07:00",
  "Collector": "sample string 7",
  "Description": "sample string 8",
  "Note": "sample string 9",
  "RefNo": "sample string 10",
  "DebitAccount": "sample string 11",
  "CreditAccount": "sample string 12",
  "AutoApprove": true
}

application/xml, text/xml

Sample:
<AgentTopupCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models">
  <AgentId>1</AgentId>
  <Amount>2</Amount>
  <AutoApprove>true</AutoApprove>
  <BankAccount>sample string 5</BankAccount>
  <Collector>sample string 7</Collector>
  <CreditAccount>sample string 12</CreditAccount>
  <Currency>sample string 3</Currency>
  <DebitAccount>sample string 11</DebitAccount>
  <Description>sample string 8</Description>
  <Note>sample string 9</Note>
  <PaymentDate>2026-07-14T17:54:18.4192946+07:00</PaymentDate>
  <PaymentMethod>sample string 6</PaymentMethod>
  <RefNo>sample string 10</RefNo>
  <TransactionType>sample string 4</TransactionType>
</AgentTopupCreateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.