POST api/Wallet/CompleteAutoPaymentAsync?IsOmsPayment={IsOmsPayment}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsOmsPayment

integer

Default value is 0

Body Parameters

AutoPaymentDetails
NameDescriptionTypeAdditional information
_paymentPrm

payment

None.

businessId

integer

None.

SubscriptionId

integer

None.

Duration

integer

None.

InterestedIn

integer

None.

IsRenew

integer

None.

SubscriptionName

string

None.

FcRemarks

string

None.

BusinessEmail

string

None.

BusinessName

string

None.

BusinessPhone

string

None.

amount

integer

None.

UserId

integer

None.

leadId

integer

None.

OrderId

string

None.

PlanId

integer

None.

Countrycode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "_paymentPrm": {
    "payType": "sample string 1",
    "reference": "sample string 2",
    "trxref": "sample string 3",
    "payResult": {}
  },
  "businessId": 1,
  "SubscriptionId": 2,
  "Duration": 3,
  "InterestedIn": 4,
  "IsRenew": 5,
  "SubscriptionName": "sample string 6",
  "FcRemarks": "sample string 7",
  "BusinessEmail": "sample string 8",
  "BusinessName": "sample string 9",
  "BusinessPhone": "sample string 10",
  "amount": 11,
  "UserId": 12,
  "leadId": 13,
  "OrderId": "sample string 14",
  "PlanId": 15,
  "Countrycode": 16
}

application/xml, text/xml

Sample:
<AutoPaymentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <BusinessEmail>sample string 8</BusinessEmail>
  <BusinessName>sample string 9</BusinessName>
  <BusinessPhone>sample string 10</BusinessPhone>
  <Countrycode>16</Countrycode>
  <Duration>3</Duration>
  <FcRemarks>sample string 7</FcRemarks>
  <InterestedIn>4</InterestedIn>
  <IsRenew>5</IsRenew>
  <OrderId>sample string 14</OrderId>
  <PlanId>15</PlanId>
  <SubscriptionId>2</SubscriptionId>
  <SubscriptionName>sample string 6</SubscriptionName>
  <UserId>12</UserId>
  <_paymentPrm>
    <payResult />
    <payType>sample string 1</payType>
    <reference>sample string 2</reference>
    <trxref>sample string 3</trxref>
  </_paymentPrm>
  <amount>11</amount>
  <businessId>1</businessId>
  <leadId>13</leadId>
</AutoPaymentDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.