Updated racc check payload
This commit is contained in:
@@ -17,7 +17,16 @@ class SimbrellaIntegration:
|
|||||||
url = f"{SimbrellaIntegration.BASE_URL}/{SimbrellaIntegration.ENDPOINT_RAC_CHECKS}"
|
url = f"{SimbrellaIntegration.BASE_URL}/{SimbrellaIntegration.ENDPOINT_RAC_CHECKS}"
|
||||||
logger.info(f"Contacting Rack Checks EndPoint: {str(url)}", exc_info=True)
|
logger.info(f"Contacting Rack Checks EndPoint: {str(url)}", exc_info=True)
|
||||||
|
|
||||||
payload = {
|
# {
|
||||||
|
# "transactionId": "T001",
|
||||||
|
# "fbnTransactionId": "Tr201712RK9232P115",
|
||||||
|
# "customerId": "CN621868",
|
||||||
|
# "accountId": "2017821799",
|
||||||
|
# "channel": "USSD",
|
||||||
|
# "countryCode": "NG"
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
payload_old = {
|
||||||
"customerId": customer_id,
|
"customerId": customer_id,
|
||||||
"accountId": account_id,
|
"accountId": account_id,
|
||||||
"transactionId": str(transaction_id),
|
"transactionId": str(transaction_id),
|
||||||
@@ -37,6 +46,14 @@ class SimbrellaIntegration:
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
payload = {
|
||||||
|
"customerId": customer_id,
|
||||||
|
"accountId": account_id,
|
||||||
|
"transactionId": str(transaction_id),
|
||||||
|
"fbnTransactionId": f"FBN{transaction_id}",
|
||||||
|
"countryCode": "NG",
|
||||||
|
"channel": "USSD"
|
||||||
|
}
|
||||||
# logger.info(f"This is PayLoad: {str(payload)}", exc_info=True)
|
# logger.info(f"This is PayLoad: {str(payload)}", exc_info=True)
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user