Please enable JavaScript.
Coggle requires JavaScript to display documents.
Direct payment & Refund (AOC send call to HUB (HUB receive call…
Direct payment & Refund
AOC receive the API call
AOC send call to HUB
HUB receive call
Direct Payment Transaction
Hub send Init Direct Payment to EI
EI received the call and validate payload with adapter
Ei check mandatory fields are exist
Mandatory field
mcc : (integer)
mnc : (integer)
endUserId : (Unique identifier)
referenceCode : (string)
amount : (decimal)
currency : (string)
description : (string)
productId : (string)
transactionOperationStatus : (string)
chargetype : (string)
productCatalogName : (string)
orderInfo : (string)
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
1 more item...
pin-code is not sent to msisdn
sent Resend Pin request to AOC
1 more item...
Mandatory field
currency
not exist
validate error response
Error Message should be
Missing mandatory parameter: currency
Mandatory field
description
not exist
validate error response
Error Message should be
Missing mandatory parameter: description
Mandatory field
productId
not exist
validate error response
Error Message should be
Missing mandatory parameter: productId
Mandatory field
chargetype
not exist
validate error response
Error Message should be
Missing mandatory parameter: chargetype
Mandatory field
chargetype
not exist
validate error response
Error Message should be
Missing mandatory parameter: chargetype
Mandatory field
productCatalogName
not exist
validate error response
Error Message should be
Missing mandatory parameter: productCatalogName
Mandatory field
orderInfo
not exist
validate error response
Error Message should be
Missing mandatory parameter: orderInfo
Mandatory field
referenceCode
not exist
validate error response
Error Message should be
Missing mandatory parameter: referenceCode
Mandatory field
amount
not exist
validate error response
Error Message should be
Missing mandatory parameter: amount
Mandatory field
endUserId
not exist
validate error response
Error Message should be
Missing mandatory parameter: endUserId
Mandatory field
MCC & MNC
not exist
validate error response
Error Message should be
Missing mandatory parameter: MCC & MNC
Ei Checks Amount is greater than product price
validate error response
Error response should be :Invalied amount
Ei Checks Amount is lower than product price
validate error response
Error response should be :Invalied amount
Ei Checks product sku not in the database
validate error response
Error response should be :Invalied amount
Ei Checks Catalog name ins not in the database
validate error response
Error response should be :Invalied amount
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
Send a request with consumer key not available in the DB
validate error response
Api call not to success
Send a request with wrong consumer
validate error response
Api call not to success
Send a request with invalid SP private key
validate error response
Api call not to success
Send a request with invalid SP public key
validate error response
Api call not to success
Mandatory field not exist
Error response should be return with particulate not existing mandatory field
Ei check mandatory fields are exist
Optional field
totalAmountCharged : (decimal)
amountReserved :
onBehalfOf:(string)
purchaseCategoryCode : (string)
channel :(string)
mandateId : (string)
serviceId :(string)
notificationFormat: (string)
notifyURL: (URI)
callbackData : (string)
referenceSequence : (int)
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
1 more item...
pin-code is not sent to msisdn
sent Resend Pin request to AOC
1 more item...
Hub send Confirm direct payment to EI
EI received the call and validate payload with adapter
Ei check mandatory fields are exist
Mandatory field
mcc : (integer)
mnc : (integer)
endUserId : (Unique identifier)
referenceCode : (string)
amount : (decimal)
currency : (string)
description : (string)
productId : (string)
transactionOperationStatus : (string)
chargetype : (string)
transactionId : ((long))
pinCode : (string)
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
1 more item...
Mandatory field
MCC & MNC
not exist
validate error response
Error Message should be
Missing mandatory parameter: MCC & MNC
Mandatory field
endUserId
not exist
validate error response
Error Message should be
Missing mandatory parameter: endUserId
Mandatory field
referenceCode
not exist
validate error response
Error Message should be
Missing mandatory parameter: referenceCode
Mandatory field
amount
not exist
validate error response
Error Message should be
Missing mandatory parameter: amount
Mandatory field
currency
not exist
validate error response
Error Message should be
Missing mandatory parameter: currency
Mandatory field
description
not exist
validate error response
Error Message should be
Missing mandatory parameter: description
Mandatory field
productId
not exist
validate error response
Error Message should be
Missing mandatory parameter: productId
Mandatory field
transactionOperationStatus
not exist
validate error response
Error Message should be
Missing mandatory parameter: transactionOperationStatus
Mandatory field
chargetype
not exist
validate error response
Error Message should be
Missing mandatory parameter:chargetype
Mandatory field
transactionId
not exist
validate error response
Error Message should be
Missing mandatory parameter: transactionId
Mandatory field
pinCode
not exist
validate error response
Error Message should be
Missing mandatory parameter: pinCode
Mandatory field
pinCode
is wrong
validate error response
Error Message should be
Wrong mandatory parameter Pinncode
Ei Checks Amount is greater than product price
validate error response
Error response should be :Invalied amount
Ei Checks Amount is lower than product price
validate error response
Error response should be :Invalied amount
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
Ei Checks product sku not in the database
validate error response
Error response should be :Invalied amount
Ei Checks Catalog name ins not in the database
validate error response
Error response should be :Invalied amount
Send a request with consumer key not available in the DB
validate error response
Api call not to success
Send a request with wrong consumer
validate error response
Api call not to success
Send a request with invalid SP private key
validate error response
Api call not to success
Send a request with invalid SP public key
validate error response
Api call not to success
Mandatory field not exist
Error response should be return with particulate not existing mandatory field
Ei check mandatory fields are exist
Optional field
onBehalfOf : (string)
purchaseCategoryCode : (string)
channel : (string)
taxAmount : (decimal)
mandateId : (string)
productId : (string)
serviceId ; (string)
notifyURL ; (URI)
callbackData : (string)
referenceSequence : (int)
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
1 more item...
Hub send Resend Verification Pin Code request to EI
EI received the call and validate payload with adapter
Ei validate the payload without optional field
optional field
totalAmountCharged : (decimal)
amountReserved
onBehalfOf : (string)
purchaseCategoryCode : (string)
channel : (string)
taxAmount : (decimal)
mandateId : (string)
productId : (string)
serviceId : (string)
notificationFormat : (string)
notifyURL : (URI)
callbackData : (string)
referenceSequence : (int)
EI forward call to tpay
Validate response
"operationStatusCode" should be 0
"responseCode" should be 0
Mandatory field not exist
Error response should be return with particulate not existing mandatory field
Ei check mandatory fields are exist
Mandatory field
mcc : (integer)
mnc : (integer)
endUserId
referenceCode : String
amount:(decimal)
currency : (string)
description:(string)
transactionOperationStatus: (string)
chargetype:(string)
subscriptionContractId : (long)
EI forward call to tpay
Validate response
"operationStatusCode" should be 0
"responseCode" should be 0
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
Send a request with consumer key not available in the DB
validate error response
Api call not to success
Send a request with wrong consumer
validate error response
Api call not to success
Send a request with invalid SP private key
validate error response
Api call not to success
Send a request with invalid SP public key
validate error response
Api call not to success
Refund
Payment Refund Triggered by Service Provider
Send refund
received request for send refund. Hub sent request to EI
EI forward call to tpay
Validate response
HTTP/1.1 201 Created
"transactionOperationStatus" should be "Refunded"
send refund again
received request for send refund. Hub sent request to EI
EI forward call to tpay
Validate response
Couldn't make refund with same transaction id
Ei check mandatory fields are exist
Mandatory field
mcc : (integer)
mnc : (integer)
endUserId:(string)
originalServerReferenceCode: (string)
description : (string)
referenceCode : (string)
transactionOperationStatus : (string)
transactionId: (long)
subscriptionContractId : (long)
currency
description(string)
EI forward call to tpay
Validate response
HTTP/1.1 201 Created
"transactionOperationStatus" should be "Refunded"
The json file should be saved in to the sftp out folder
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
Send request with transactionId & subscriptionContractId
Validate response
"Either transactionId or subscriptionContractId should be present"
Send request with transactionId without subscriptionContractId
Validate response
HTTP/1.1 201 Created
"transactionOperationStatus" should be "Refunded"
The json file should be saved in to the sftp out folder
Send request with subscriptionContractId without transactionId
Validate response
HTTP/1.1 201 Created
"transactionOperationStatus" should be "Refunded"
The json file should be saved in to the sftp out folder
Ei check mandatory fields are exist
Optional field
clientCorrelator:
amount : (decimal)
onBehalfOf : (string)
purchaseCategoryCode : (string)
channel : (string)
taxAmount : (decimal)
mandateId : (string)
productId : (string)
serviceId : (string)
notificationFormat : (string)
callbackData : (string)
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
HTTP/1.1 201 Created
"transactionOperationStatus" should be "Refunded"
EI checks without transactionId subscriptionContractId
Error response should be : Need to have transactionId or subscriptionContractId
Payment Refund Notification Triggered by TPay
Send refund
received request for send refund. Hub sent request to EI
EI recieve the file in to the sftp in folder
EI Validate the json
EI check JSON file error
1 more item...
send refund again
received request for send refund. Hub sent request to EI
EI forward call to tpay
Validate response
Couldn't make refund with same transaction id
Ei check mandatory fields are exist
Mandatory field
transactionDate: (string)
endUserId
serviceProvider : (string)
operator : (string)
amount : (decimal)
transactionId : (long)
subscriptionContractId : (long)
originalServerReferenceCode : (string)
refundStatus : (string)
EI forward call to tpay
Validate response
HTTP/1.1 200 OK
"operationStatusCode" should be 0
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
EI checks without transactionId subscriptionContractId
Error response should be : Need to have transactionId or subscriptionContractId
Ei check With subscriptionContractId without transactionId
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
HTTP/1.1 200 OK
"operationStatusCode" should be 0
Ei check With transactionId without subscriptionContractId
EI forward call to tpay
check pin code send through sms to the msisdn
Validate response
HTTP/1.1 200 OK
"operationStatusCode" should be 0
Send refund
received request for send refund. Hub sent request to EI
EI recieve the file in to the sftp in folder
EI Validate the json
EI check JSON file has no error
1 more item...
Data publishing enter data to database