SIMBRELLA_ENDPOINT_RAC_CHECKS
This commit is contained in:
@@ -7,13 +7,14 @@ import logging
|
||||
|
||||
class SimbrellaIntegration:
|
||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
||||
ENDPOINT_RAC_CHECKS = settings.SIMBRELLA_ENDPOINT_RAC_CHECKS
|
||||
|
||||
@staticmethod
|
||||
def rac_check(customer_id, account_id, transaction_id):
|
||||
"""
|
||||
Calls the RACCheck endpoit
|
||||
"""
|
||||
url = f"{SimbrellaIntegration.BASE_URL}/RACCheck"
|
||||
url = f"{SimbrellaIntegration.BASE_URL}/{SIMBRELLA_ENDPOINT_RAC_CHECKS}"
|
||||
|
||||
payload = {
|
||||
"customerId": customer_id,
|
||||
|
||||
Reference in New Issue
Block a user