done with verify transaction service
This commit is contained in:
@@ -3,6 +3,7 @@ import requests
|
||||
from app.config import settings
|
||||
from app.utils.auth import get_headers
|
||||
from app.utils.logger import logger
|
||||
from app.integrations.simbrella import SimbrellaClient
|
||||
|
||||
autocall_bp = Blueprint("autocall", __name__)
|
||||
|
||||
@@ -10,7 +11,10 @@ autocall_bp = Blueprint("autocall", __name__)
|
||||
def verify_transaction():
|
||||
data = request.json()
|
||||
logger.info(f"Calling Verify Components")
|
||||
return jsonify(data), 200
|
||||
|
||||
response = SimbrellaClient.verify_transaction(data)
|
||||
|
||||
return jsonify(response), 200
|
||||
|
||||
@autocall_bp.route("/refresh-disbursement", methods=["GET"])
|
||||
def disbursement():
|
||||
|
||||
Reference in New Issue
Block a user