POST api/v1/add-to-customer-wallet?transactionAmount={transactionAmount}&description={description}&clientId={clientId}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
transactionAmount

decimal number

Required

description

string

Required

clientId

integer

Required

Body Parameters

CustCreditsModel
NameDescriptionTypeAdditional information
CustGuid

globally unique identifier

None.

IsAllowCreditPurchase

boolean

None.

CashPoints

decimal number

Matching regular expression pattern: \d+(\.\d{1,2})?

Range: inclusive between 0 and 1E+16

CreditBalance

decimal number

Matching regular expression pattern: ^\s*(?=.*[1-9])\d*(?:\.\d{1,2})?\s*$

Range: inclusive between 0 and 1E+16

CreditLimit

decimal number

Matching regular expression pattern: \d+(\.\d{1,2})?

Range: inclusive between 0 and 1E+16

Comment

string

None.

Type

integer

None.

SellerId

integer

None.

ClientId

integer

None.

Request Formats
{
  "CustGuid": "8cc1afd7-272e-4ee7-abc4-ecf27a9c89b3",
  "IsAllowCreditPurchase": true,
  "CashPoints": 1.0,
  "CreditBalance": 1.0,
  "CreditLimit": 1.0,
  "Comment": "sample string 3",
  "Type": 4,
  "SellerId": 5,
  "ClientId": 6
}
{"CustGuid":"8cc1afd7-272e-4ee7-abc4-ecf27a9c89b3","IsAllowCreditPurchase":true,"CashPoints":1.0,"CreditBalance":1.0,"CreditLimit":1.0,"Comment":"sample string 3","Type":4,"SellerId":5,"ClientId":6}
<CustCreditsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Customer">
  <CashPoints>1</CashPoints>
  <ClientId>6</ClientId>
  <Comment>sample string 3</Comment>
  <CreditBalance>1</CreditBalance>
  <CreditLimit>1</CreditLimit>
  <CustGuid>8cc1afd7-272e-4ee7-abc4-ecf27a9c89b3</CustGuid>
  <IsAllowCreditPurchase>true</IsAllowCreditPurchase>
  <SellerId>5</SellerId>
  <Type>4</Type>
</CustCreditsModel>

Sample not available.

Response Information

Description:

Return type: string

Response Formats
"sample string 1"
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>