Skip to main content

Handle Deposits

An API call will be sent to an operator’s notification callback URL alerting them of pending deposits. After receiving this notification an operator will need to approve or reject the requested deposit.

POST /api/operator/DepositApproval

This method is used to make an authenticated request to approve a specific deposit received via notification callback.

Example Scenario:

  1. End user makes a deposit on the VIP Connect web component.
  2. VIP Connect notifies the operator using the notification endpoint URL configured.
  3. Operator reviews the received deposit request.
  4. Operator calls deposit approval endpoint on VIP Connect.
  5. Operator receives successful response status.

Example Request:

{
"PatronId": "1234567890",
"TransactionId": "jason080220231",
"Amount": "89.76",
"BankName": "Rbs Citizens, Na",
"MaskedBankAccountNumber": "************0000",
"BankRoutingNumber": "011401533",
"VipCardNumber": "7210642759",
"LastName": "Joe",
"FirstName": "Smith",
"HomePhoneNumber": "5135552222",
"Location": "192.168.1.1",
"TransactionType": "deposit",
"Timestamp": "",
"InstantPaymentEligible": "true",
"ProductType":"Preferred",
"OneClickDiscountApplied":true,
"OperatorLimits": {
"MinDeposit": 10.00,
"MaxDeposit": 99999.99,
"RemainingDailyDeposit": 1000.0,
"MinWithdraw": 1.00,
"MaxWithdraw": 999999.99,
"WalletBalance": 1000.0
}
}

Parameters List

Parameter NameDescriptionIsRequiredTypeExample
patronIdUnique ID to identify end user (generated on operator site)YesAlphanumeric1234567890
transactionId*Unique ID to identify deposit/withdraw requestYesAlphanumeric9f80db71aa
amountDeposit amountYesdecimal10.01
bankNameEnd user selected bank nameYesStringBank of America
maskedBankAccountNumberEnd user selected bank account number (masked)YesString****1234
bankRoutingNumberRouting number for bank selectedYesString123456789
vipCardNumberVIP account numberYesString714524259
firstNameEnd user first nameYesStringJane
lastNameEnd user last nameYesStringDoe
homePhoneNumberEnd user's home phone numberYesString4854587856
locationDevice location (IP address of the device)YesString127.0.0.1
transactionTypeTransaction type of the requestYesStringdeposit
timestampTimestamp value when approval request sentNoDateTime2022-10-03T14:23:09.2188558+00:00
instantPaymentEligibleIndicates if the bank supports instant paymentNoBooleantrue
productTypeVIP product type (VIP Preferred or VIP Online)YesStringpreferred
oneClickDiscountAppliedDiscount on transaction enabled for operator (eligibility determined by oneClickDiscountEligible from Account Inquiry response)NoBooleanfalse
operatorLimits.minDepositMinumum deposit amountYesdecimal10.00
operatorLimits.maxDepositMaximum deposit amountYesdecimal99999.99
operatorLimits.remainingDailyDepositRemaining daily deposit amountYesdecimal1000.00
operatorLimits.minWithdrawMinumum withdraw amountYesdecimal1.00
operatorLimits.maxWithdrawMaximum withdraw amountYesdecimal999999.99
operatorLimits.walletBalancePatron wallet balanceYesdecimal1000.00
note

transactionId is assigned by the Operator. Max Length: 25 characters, Min Length: 8 characters

Possible ProductType ValuesDescription
preferredVIP Preferred
onlineVIP Online

Response

StatusDescription
200 OKAPI received the request and responded

Example Response

{
"transactionId":"9f80db7112",
"amount":"10.33",
"transactionType":"deposit",
"timestamp":"2022-10-03T14:23:09.2188558+00:00",
"transactionResult":"Success"
}
note

No action needed to reject a deposit request. Operator can review and ignore the deposit notification received.

Configurable Limits

Operators may configure certain deposit limits.

  • MaxDeposit - Maximum deposit transaction amount for each session in USD.
  • MinDeposit - Minimum deposit transaction amount for each session in USD.