POST api/Payment/PayInvoiceByUser

Request Information

URI Parameters

None.

Body Parameters

PayInvoiceByUserRequestVM
NameDescriptionTypeAdditional information
UserId

string

Required

Amount

decimal number

Required

InvoiceId

string

Required

ParentAccountId

string

Required

IsCreateNewMethod

boolean

None.

NewCardToken

string

None.

PaymentMethodId

string

None.

IsMakeNewCardAsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Amount": 2.0,
  "InvoiceId": "sample string 3",
  "ParentAccountId": "sample string 4",
  "IsCreateNewMethod": true,
  "NewCardToken": "sample string 6",
  "PaymentMethodId": "sample string 7",
  "IsMakeNewCardAsDefault": true
}

application/xml, text/xml

Sample:
<PayInvoiceByUserRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.BillingAndPaymentRequestViewModels">
  <Amount>2</Amount>
  <InvoiceId>sample string 3</InvoiceId>
  <IsCreateNewMethod>true</IsCreateNewMethod>
  <IsMakeNewCardAsDefault>true</IsMakeNewCardAsDefault>
  <NewCardToken>sample string 6</NewCardToken>
  <ParentAccountId>sample string 4</ParentAccountId>
  <PaymentMethodId>sample string 7</PaymentMethodId>
  <UserId>sample string 1</UserId>
</PayInvoiceByUserRequestVM>

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.