[add]: Simbrella integration
This commit was merged in pull request #2.
This commit is contained in:
@@ -43,11 +43,9 @@ class EligibilityCheckService(BaseService):
|
||||
|
||||
# Call RACCheck
|
||||
response = SimbrellaClient.rac_check(
|
||||
customer_id=customer_id,
|
||||
account_id=account_id,
|
||||
transaction_id=validated_data.get("transactionId"),
|
||||
country_code=validated_data.get("countryCode"),
|
||||
msisdn=validated_data.get("msisdn")
|
||||
customer_id = customer_id,
|
||||
account_id = account_id,
|
||||
transaction_id = transaction.id,
|
||||
)
|
||||
|
||||
if "error" in response or response.get("status") != 200:
|
||||
|
||||
Reference in New Issue
Block a user