Compare commits
16 Commits
sync_payload
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 713e7bb5ac | |||
| f9e80ee088 | |||
| 2f2eb6b89f | |||
| ca32bfda1c | |||
| 74e5563e6a | |||
| 473d9568d2 | |||
| ab7cd0bedf | |||
| bb5237797d | |||
| b8fde2c320 | |||
| c92255c0c5 | |||
| 422d60addd | |||
| a63d20f50e | |||
| 3fb48a08b0 | |||
| 249e624ef3 | |||
| 630174fa8c | |||
| f4cd8ae162 |
@@ -11,7 +11,8 @@ from app.api.services import (
|
|||||||
TokenValidationService,
|
TokenValidationService,
|
||||||
LienCheckService,
|
LienCheckService,
|
||||||
NewTransactionCheckService,
|
NewTransactionCheckService,
|
||||||
CompleteRACcheckService
|
CompleteRACcheckService,
|
||||||
|
VerifyAccountBalanceService
|
||||||
)
|
)
|
||||||
from app.utils.logger import logger
|
from app.utils.logger import logger
|
||||||
from app.api.middlewares import enforce_json
|
from app.api.middlewares import enforce_json
|
||||||
@@ -56,6 +57,22 @@ def rac_check():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception("Unhandled exception in /RACCheck route")
|
logger.exception("Unhandled exception in /RACCheck route")
|
||||||
return jsonify({"message": "Unhandled server error"}), 500
|
return jsonify({"message": "Unhandled server error"}), 500
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# VerifyAccountBalance Endpoint
|
||||||
|
@api.route('/VerifyAccountBalance', methods=['POST'])
|
||||||
|
@jwt_required()
|
||||||
|
def verify_account_balance():
|
||||||
|
logger.info("VerifyAccountBalance request received")
|
||||||
|
try:
|
||||||
|
logger.info("VerifyAccountBalance inside try request received")
|
||||||
|
data = request.get_json()
|
||||||
|
response = VerifyAccountBalanceService.process_request(data)
|
||||||
|
return response
|
||||||
|
except Exception as e:
|
||||||
|
logger.exception("Unhandled exception in /VerifyAccountBalance route")
|
||||||
|
return jsonify({"message": "Unhandled server error"}), 500
|
||||||
|
|
||||||
# CompleteRACcheck Endpoint
|
# CompleteRACcheck Endpoint
|
||||||
@api.route('/CompleteRACcheck', methods=['POST'])
|
@api.route('/CompleteRACcheck', methods=['POST'])
|
||||||
@@ -108,17 +125,16 @@ def transaction_verify():
|
|||||||
logger.exception("Unhandled exception in /TransactionVerify route")
|
logger.exception("Unhandled exception in /TransactionVerify route")
|
||||||
return jsonify({"message": "Unhandled server error"}), 500
|
return jsonify({"message": "Unhandled server error"}), 500
|
||||||
|
|
||||||
# PenalCharge Endpoint
|
# CollectPenalCharge Endpoint
|
||||||
@api.route('/CollectPenalFee', methods=['POST'])
|
@api.route('/CollectPenalCharge', methods=['POST'])
|
||||||
@jwt_required()
|
@jwt_required()
|
||||||
def penal_charge():
|
def penal_charge():
|
||||||
try:
|
try:
|
||||||
data = request.get_json()
|
data = request.get_json()
|
||||||
# logger.info(f"PenalCharge request received: {data}")
|
|
||||||
response = PenalChargeService.process_request(data)
|
response = PenalChargeService.process_request(data)
|
||||||
return response
|
return response
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception("Unhandled exception in /PenalCharge route")
|
logger.exception("Unhandled exception in /CollectPenalCharge route")
|
||||||
return jsonify({"message": "Unhandled server error"}), 500
|
return jsonify({"message": "Unhandled server error"}), 500
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,22 +2,23 @@ from marshmallow import Schema, fields
|
|||||||
|
|
||||||
# This file contains the schema for penal charge operations
|
# This file contains the schema for penal charge operations
|
||||||
class PenalChargeSchema(Schema):
|
class PenalChargeSchema(Schema):
|
||||||
channel = fields.Str(allow_none=True)
|
channel = fields.Str(required=True)
|
||||||
transactionId = fields.Str(allow_none=True)
|
transactionId = fields.Str(required=True)
|
||||||
fbnTransactionId = fields.Str(allow_none=True)
|
fbnTransactionId = fields.Str(required=True)
|
||||||
debtId = fields.Str(allow_none=True)
|
debtId = fields.Str(required=True)
|
||||||
accountId = fields.Str(allow_none=True)
|
accountId = fields.Str(required=True)
|
||||||
penalCharge = fields.Float(required=True)
|
penalCharge = fields.Int(required=True)
|
||||||
customerId = fields.Str(allow_none=True)
|
customerId = fields.Str(required=True)
|
||||||
lienAmount = fields.Float(required=True)
|
lienAmount = fields.Int(required=True)
|
||||||
comment = fields.Str(allow_none=True)
|
comment = fields.Str(required=True)
|
||||||
countryId = fields.Str(allow_none=True)
|
countryId = fields.Str(required=True)
|
||||||
|
|
||||||
#represents the response schema for penal charge
|
#represents the response schema for penal charge
|
||||||
class CollectPenalFeeResponseSchema(Schema):
|
class CollectPenalFeeResponseSchema(Schema):
|
||||||
customerId = fields.Str(allow_none=True)
|
customerId = fields.Str(allow_none=True)
|
||||||
transactionId = fields.Str(allow_none=True)
|
transactionId = fields.Str(allow_none=True)
|
||||||
amountCollected = fields.Float(required=True)
|
amountCollected = fields.Float(required=True)
|
||||||
|
lienAmount = fields.Int(allow_none=True)
|
||||||
accountId = fields.Str(allow_none=True)
|
accountId = fields.Str(allow_none=True)
|
||||||
responseCode = fields.Str(allow_none=True)
|
responseCode = fields.Str(allow_none=True)
|
||||||
responseMessage = fields.Str(allow_none=True)
|
responseMessage = fields.Str(allow_none=True)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
from marshmallow import Schema, fields
|
from marshmallow import Schema, fields
|
||||||
|
|
||||||
class TransactionVerifySchema(Schema):
|
class TransactionVerifySchemaNotGood(Schema):
|
||||||
channel = fields.Str(allow_none=True)
|
channel = fields.Str(allow_none=True)
|
||||||
accountId = fields.Str(allow_none=True)
|
accountId = fields.Str(allow_none=True)
|
||||||
customerId = fields.Str(allow_none=True)
|
customerId = fields.Str(allow_none=True)
|
||||||
@@ -9,13 +9,38 @@ class TransactionVerifySchema(Schema):
|
|||||||
countryId = fields.Str(allow_none=True)
|
countryId = fields.Str(allow_none=True)
|
||||||
requestId = fields.Str(allow_none=True)
|
requestId = fields.Str(allow_none=True)
|
||||||
|
|
||||||
|
class TransactionVerifySchema(Schema):
|
||||||
|
customerId = fields.Str(allow_none=True)
|
||||||
|
accountId = fields.Str(allow_none=True)
|
||||||
|
transactionId = fields.Str(allow_none=True)
|
||||||
|
transactionType = fields.Str(allow_none=True)
|
||||||
|
fbnTransactionId = fields.Str(allow_none=True)
|
||||||
|
countryId = fields.Str(allow_none=True)
|
||||||
|
requestId = fields.Str(allow_none=True)
|
||||||
|
|
||||||
class TransactionVerifyResponseSchema(Schema):
|
class TransactionVerifyResponseSchema(Schema):
|
||||||
responseCode = fields.Str(allow_none=True)
|
responseCode = fields.Str(allow_none=True)
|
||||||
responseDescr = fields.Str(allow_none=True)
|
responseDescr = fields.Str(allow_none=True)
|
||||||
fullDescription = fields.Str(allow_none=True)
|
responseMessage = fields.Str(allow_none=True)
|
||||||
customerId = fields.Str(allow_none=True)
|
customerId = fields.Str(allow_none=True)
|
||||||
accountId = fields.Str(allow_none=True)
|
accountId = fields.Str(allow_none=True)
|
||||||
providedAmount = fields.Float(required=True)
|
providedAmount = fields.Float(required=True)
|
||||||
collectedAmount = fields.Float(required=True)
|
collectedAmount = fields.Float(required=True)
|
||||||
transactionId = fields.Str(allow_none=True)
|
transactionId = fields.Str(allow_none=True)
|
||||||
transactionType = fields.Str(allow_none=True)
|
transactionType = fields.Str(allow_none=True)
|
||||||
|
|
||||||
|
|
||||||
|
# '''
|
||||||
|
|
||||||
|
# verify_data = {
|
||||||
|
# "customerId": loan_data.get('customerId'),
|
||||||
|
# "accountId": loan_data.get('accountId'),
|
||||||
|
# "transactionId": loan_data.get('transactionId'),
|
||||||
|
# "transactionType": "provide",
|
||||||
|
# "fbnTransactionId": loan_data.get('transactionId'),
|
||||||
|
# "countryId": "NG",
|
||||||
|
# "requestId": loan_data.get('transactionId')
|
||||||
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
# '''
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
from marshmallow import Schema, fields
|
||||||
|
|
||||||
|
from marshmallow import Schema, fields
|
||||||
|
from datetime import date
|
||||||
|
|
||||||
|
|
||||||
|
class VerifyAccountBalanceSchema(Schema):
|
||||||
|
accountId = fields.Str(required=True)
|
||||||
|
amount = fields.Str(required=True)
|
||||||
|
requestId = fields.Str(required=True)
|
||||||
@@ -9,3 +9,4 @@ from app.api.services.lien_check import LienCheckService
|
|||||||
from app.api.services.new_transaction_check import NewTransactionCheckService
|
from app.api.services.new_transaction_check import NewTransactionCheckService
|
||||||
from app.api.services.complete_rac_check_service import CompleteRACcheckService
|
from app.api.services.complete_rac_check_service import CompleteRACcheckService
|
||||||
from app.api.services.generate_token import GenerateTokenService
|
from app.api.services.generate_token import GenerateTokenService
|
||||||
|
from app.api.services.verify_account_balance import VerifyAccountBalanceService
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class CollectLoanService:
|
|||||||
int(customerId[-1]) in [2, 7, 9]
|
int(customerId[-1]) in [2, 7, 9]
|
||||||
)
|
)
|
||||||
if Config.MIN_AMOUNT_FOR_COLLECTION <= amountForCollection <= Config.MAX_AMOUNT_FOR_COLLECTION:
|
if Config.MIN_AMOUNT_FOR_COLLECTION <= amountForCollection <= Config.MAX_AMOUNT_FOR_COLLECTION:
|
||||||
amountCollected = amountForCollection if lienAmount >= amountForCollection else 0
|
# amountCollected = amountForCollection if lienAmount >= amountForCollection else 0
|
||||||
responseDescr = "Partial Loan Collection Successful EMULATOR"
|
responseDescr = "Partial Loan Collection Successful EMULATOR"
|
||||||
fullDescription = "Partial Loan collection completed successfully EMULATOR"
|
fullDescription = "Partial Loan collection completed successfully EMULATOR"
|
||||||
responseMessage = "Partial Loan collection completed successfully EMULATOR"
|
responseMessage = "Partial Loan collection completed successfully EMULATOR"
|
||||||
|
|||||||
@@ -2,7 +2,10 @@ from flask import request, jsonify
|
|||||||
from marshmallow import ValidationError
|
from marshmallow import ValidationError
|
||||||
from app.utils.logger import logger
|
from app.utils.logger import logger
|
||||||
from app.api.helpers.response_helper import ResponseHelper
|
from app.api.helpers.response_helper import ResponseHelper
|
||||||
from app.api.schemas.penal_charge import PenalChargeSchema, CollectPenalFeeResponseSchema
|
from app.api.schemas.penal_charge import (
|
||||||
|
PenalChargeSchema,
|
||||||
|
CollectPenalFeeResponseSchema,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class PenalChargeService:
|
class PenalChargeService:
|
||||||
@@ -24,14 +27,20 @@ class PenalChargeService:
|
|||||||
schema = PenalChargeSchema()
|
schema = PenalChargeSchema()
|
||||||
validated_data = schema.load(data)
|
validated_data = schema.load(data)
|
||||||
|
|
||||||
# Simulated processing logic
|
customerId = validated_data["customerId"]
|
||||||
|
transactionId = validated_data["transactionId"]
|
||||||
|
penalCharge = validated_data["penalCharge"]
|
||||||
|
accountId = validated_data["accountId"]
|
||||||
|
lienAmount = validated_data["lienAmount"]
|
||||||
|
|
||||||
response_data = {
|
response_data = {
|
||||||
"customerId": validated_data.get("customerId"),
|
|
||||||
"transactionId": validated_data.get("transactionId"),
|
|
||||||
"amountCollected": validated_data.get("penalCharge", 0.0),
|
|
||||||
"accountId": validated_data.get("accountId"),
|
|
||||||
"responseCode": "00",
|
"responseCode": "00",
|
||||||
"responseMessage": "Penal charge debited successfully"
|
"responseMessage": "Penal Collection Successful",
|
||||||
|
"customerId": customerId,
|
||||||
|
"transactionId": transactionId,
|
||||||
|
"amountCollected": penalCharge,
|
||||||
|
"lienAmount": lienAmount,
|
||||||
|
"accountId": accountId,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Optionally validate/serialize response using schema
|
# Optionally validate/serialize response using schema
|
||||||
@@ -42,13 +51,11 @@ class PenalChargeService:
|
|||||||
|
|
||||||
except ValidationError as err:
|
except ValidationError as err:
|
||||||
logger.error(f"Validation Error: {err.messages}")
|
logger.error(f"Validation Error: {err.messages}")
|
||||||
return jsonify({
|
return (
|
||||||
"message": "Validation exception",
|
jsonify({"message": "Validation exception", "errors": err.messages}),
|
||||||
"errors": err.messages
|
422,
|
||||||
}), 422
|
)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"An error occurred: {str(e)}", exc_info=True)
|
logger.error(f"An error occurred: {str(e)}", exc_info=True)
|
||||||
return jsonify({
|
return jsonify({"message": "Internal Server Error"}), 500
|
||||||
"message": "Internal Server Error"
|
|
||||||
}), 500
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class TransactionVerifyService:
|
|||||||
response_data = {
|
response_data = {
|
||||||
"responseCode": "00",
|
"responseCode": "00",
|
||||||
"responseDescr": "Success",
|
"responseDescr": "Success",
|
||||||
"fullDescription": "Collect Status retrieved successfully.",
|
"responseMessage": "Verification Status retrieved Successfully.",
|
||||||
"customerId": validated_data.get("customerId"),
|
"customerId": validated_data.get("customerId"),
|
||||||
"accountId": validated_data.get("accountId"),
|
"accountId": validated_data.get("accountId"),
|
||||||
"providedAmount": 0.0,
|
"providedAmount": 0.0,
|
||||||
|
|||||||
@@ -0,0 +1,50 @@
|
|||||||
|
from app.api.schemas.verify_account_balance import VerifyAccountBalanceSchema
|
||||||
|
from flask import request, jsonify
|
||||||
|
from marshmallow import ValidationError
|
||||||
|
from app.utils.logger import logger
|
||||||
|
from app.api.helpers.response_helper import ResponseHelper
|
||||||
|
|
||||||
|
class VerifyAccountBalanceService:
|
||||||
|
@staticmethod
|
||||||
|
def process_request(data):
|
||||||
|
"""
|
||||||
|
Process the RACCheck request.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
data (dict): The request data.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
tuple: JSON response and status code.
|
||||||
|
"""
|
||||||
|
try:
|
||||||
|
logger.info("Processing VerifyBalance request")
|
||||||
|
|
||||||
|
# Validate input data
|
||||||
|
schema = VerifyAccountBalanceSchema()
|
||||||
|
validated_data = schema.load(data)
|
||||||
|
|
||||||
|
account_id = validated_data["accountId"]
|
||||||
|
request_id = validated_data["requestId"]
|
||||||
|
amount = validated_data["amount"]
|
||||||
|
|
||||||
|
|
||||||
|
result = {
|
||||||
|
"responseCode": "00",
|
||||||
|
"responseMessage": "Operation Successful",
|
||||||
|
"isSufficient": True
|
||||||
|
}
|
||||||
|
|
||||||
|
return jsonify(result), 200
|
||||||
|
|
||||||
|
except ValidationError as err:
|
||||||
|
logger.error(f"Validation Error: {err.messages}")
|
||||||
|
return jsonify({
|
||||||
|
"message": "Validation exception",
|
||||||
|
"errors": err.messages
|
||||||
|
}), 422
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
logger.error(f"An error occurred: {str(e)}", exc_info=True)
|
||||||
|
return jsonify({
|
||||||
|
"message": "Internal Server Error"
|
||||||
|
}), 500
|
||||||
@@ -45,6 +45,14 @@
|
|||||||
"url": "https://www.simbrellang.net"
|
"url": "https://www.simbrellang.net"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "VerifyAccountBalance",
|
||||||
|
"description": "Verify Account Balance Request",
|
||||||
|
"externalDocs": {
|
||||||
|
"description": "Find out more",
|
||||||
|
"url": "https://www.simbrellang.net"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "CompleteRACcheck",
|
"name": "CompleteRACcheck",
|
||||||
"description": "Complete Risk Acceptance Criteria Request",
|
"description": "Complete Risk Acceptance Criteria Request",
|
||||||
@@ -127,6 +135,9 @@
|
|||||||
},
|
},
|
||||||
"/api/rac-check": {
|
"/api/rac-check": {
|
||||||
"$ref": "swagger/paths/RACCheck.json"
|
"$ref": "swagger/paths/RACCheck.json"
|
||||||
|
},
|
||||||
|
"/api/VerifyAccountBalance": {
|
||||||
|
"$ref": "swagger/paths/VerifyAccountBalance.json"
|
||||||
},
|
},
|
||||||
"/api/CompleteRACcheck": {
|
"/api/CompleteRACcheck": {
|
||||||
"$ref": "swagger/paths/CompleteRACcheck.json"
|
"$ref": "swagger/paths/CompleteRACcheck.json"
|
||||||
@@ -140,7 +151,7 @@
|
|||||||
"/api/TransactionVerify": {
|
"/api/TransactionVerify": {
|
||||||
"$ref": "swagger/paths/TransactionVerify.json"
|
"$ref": "swagger/paths/TransactionVerify.json"
|
||||||
},
|
},
|
||||||
"/api/CollectPenalFee": {
|
"/api/CollectPenalCharge": {
|
||||||
"$ref": "swagger/paths/PenalCharge.json"
|
"$ref": "swagger/paths/PenalCharge.json"
|
||||||
},
|
},
|
||||||
"/api/RevokeEnableConsent": {
|
"/api/RevokeEnableConsent": {
|
||||||
@@ -170,6 +181,12 @@
|
|||||||
"RACCheckResponse": {
|
"RACCheckResponse": {
|
||||||
"$ref": "./schemas/RACCheckResponse.json"
|
"$ref": "./schemas/RACCheckResponse.json"
|
||||||
},
|
},
|
||||||
|
"VerifyAccountBalanceRequest": {
|
||||||
|
"$ref": "./schemas/VerifyAccountBalanceRequest.json"
|
||||||
|
},
|
||||||
|
"VerifyAccountBalanceResponse": {
|
||||||
|
"$ref": "./schemas/VerifyAccountBalanceResponse.json"
|
||||||
|
},
|
||||||
"CompleteRACcheckRequest": {
|
"CompleteRACcheckRequest": {
|
||||||
"$ref": "./schemas/CompleteRACcheckRequest.json"
|
"$ref": "./schemas/CompleteRACcheckRequest.json"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"post": {
|
||||||
|
"tags": [
|
||||||
|
"VerifyAccountBalance"
|
||||||
|
],
|
||||||
|
"summary": "Risk Acceptance Criteria Check",
|
||||||
|
"description": "Check if a customer passes the Risk Acceptance Criteria defined by the bank",
|
||||||
|
"operationId": "verifyAccountBalance",
|
||||||
|
"requestBody": {
|
||||||
|
"required": true,
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "../schemas/VerifyAccountBalanceRequest.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"application/xml": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "../schemas/VerifyAccountBalanceRequest.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"application/x-www-form-urlencoded": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "../schemas/VerifyAccountBalanceRequest.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "Verify Account Balance Successful",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "../schemas/VerifyAccountBalanceResponse.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"application/xml": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "../schemas/VerifyAccountBalanceResponse.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"400": {
|
||||||
|
"description": "Invalid request"
|
||||||
|
},
|
||||||
|
"422": {
|
||||||
|
"description": "Validation exception"
|
||||||
|
},
|
||||||
|
"500": {
|
||||||
|
"description": "Internal server error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -16,6 +16,10 @@
|
|||||||
"format": "double",
|
"format": "double",
|
||||||
"example": 101.2
|
"example": 101.2
|
||||||
},
|
},
|
||||||
|
"lienAmount": {
|
||||||
|
"type": "integer",
|
||||||
|
"example": 1000
|
||||||
|
},
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"nullable": true,
|
"nullable": true,
|
||||||
@@ -32,6 +36,8 @@
|
|||||||
"example": "Penal charge debited successfully"
|
"example": "Penal charge debited successfully"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["amountCollected"],
|
"required": [
|
||||||
|
"amountCollected"
|
||||||
|
],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"amount": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "200"
|
||||||
|
},
|
||||||
|
"requestId": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "RQ621868"
|
||||||
|
},
|
||||||
|
"accountId": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "2017821799"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"accountId",
|
||||||
|
"requestId",
|
||||||
|
"amount"
|
||||||
|
],
|
||||||
|
"xml": {
|
||||||
|
"name": "VerifyAccountBalanceRequest"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"isSufficient": {
|
||||||
|
"type": "string",
|
||||||
|
"example": "true"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"isSufficient"
|
||||||
|
],
|
||||||
|
"xml": {
|
||||||
|
"name": "VerifyAccountBalanceResponse"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user