POST api/prepaidvouchers/sellvoucherwithvivapaymentsuccess

Request Information

URI Parameters

None.

Body Parameters

PrepaidVoucherSellRequest
NameDescriptionTypeAdditional information
PayerId

integer

None.

PayerSurname

string

None.

PayerName

string

None.

PayerEmail

string

None.

PayerPhone

string

None.

PayerAddress

string

None.

CustomerId

integer

None.

CustomerAlias

string

None.

CustomerEmail

string

None.

CustomerPhone

string

None.

AmountPaid

decimal number

None.

Notes

string

None.

PaymentTypeId

integer

None.

ExtReference1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PayerId": 1,
  "PayerSurname": "sample string 2",
  "PayerName": "sample string 3",
  "PayerEmail": "sample string 4",
  "PayerPhone": "sample string 5",
  "PayerAddress": "sample string 6",
  "CustomerId": 7,
  "CustomerAlias": "sample string 8",
  "CustomerEmail": "sample string 9",
  "CustomerPhone": "sample string 10",
  "AmountPaid": 11.0,
  "Notes": "sample string 12",
  "PaymentTypeId": 13,
  "ExtReference1": "sample string 14"
}

application/xml, text/xml

Sample:
<PrepaidVoucherSellRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
  <AmountPaid>11</AmountPaid>
  <CustomerAlias>sample string 8</CustomerAlias>
  <CustomerEmail>sample string 9</CustomerEmail>
  <CustomerId>7</CustomerId>
  <CustomerPhone>sample string 10</CustomerPhone>
  <ExtReference1>sample string 14</ExtReference1>
  <Notes>sample string 12</Notes>
  <PayerAddress>sample string 6</PayerAddress>
  <PayerEmail>sample string 4</PayerEmail>
  <PayerId>1</PayerId>
  <PayerName>sample string 3</PayerName>
  <PayerPhone>sample string 5</PayerPhone>
  <PayerSurname>sample string 2</PayerSurname>
  <PaymentTypeId>13</PaymentTypeId>
</PrepaidVoucherSellRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PrepaidVoucher
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

PayerId

integer

None.

PayerAlias

string

None.

PayDate

date

None.

ChrgId

integer

None.

AmountPaid

decimal number

None.

AmountConsumed

decimal number

None.

IssueDate

date

None.

Notes

string

None.

State

PrepaidVoucherStates

None.

ExpirationDate

date

None.

Response Formats

application/json, text/json

Sample:

Sample not available.