curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{transactionId} \
--header 'Content-Type: application/json' \
--data '
{
"breakdown": {
"aggregate": 816.875,
"amount": 18500,
"bankCharge": 76.875,
"payout": 17683.125,
"qshopCharge": 740
}
}
'{
"data": {
"__v": 0,
"_id": "62ea571509bd2e9be7de9edd",
"amount": 18500,
"breakdown": {
"aggregate": 816.875,
"amount": 18500,
"bankCharge": 76.875,
"payout": 17683.125,
"qshopCharge": 740
},
"createdAt": "2022-08-03T11:08:05.921Z",
"meta": {
"accountNumber": "9978770274",
"channelId": "1",
"currency": "NGN",
"feeAmount": "500",
"initiationTranRef": "",
"sessionId": "0000042103011805345648005069266636442358859209",
"settledAmount": "18500",
"settlementId": "202210301006807500001631",
"sourceAccountName": "CASAFINA CREDIT-EASY LOAN",
"sourceAccountNumber": "2093566866",
"sourceBankName": "UNITED BANK FOR AFRICA",
"tranDateTime": "2021-03-01 18:06:20.000",
"tranRemarks": "FROM UBA/ CASAFINA CREDIT-EASY LOAN-NIP/SEYI OLUFEMI/CASAFINA CAP/0000042103015656180548005069266636",
"transactionAmount": "19000",
"vatAmount": "0",
"virtualBankAccount": {
"__v": 0,
"_id": "62ea499b1908431f9caf727b",
"accountName": "MERCHANT(Qshop/Egoli)",
"accountNumber": "9978770274",
"created": "2022-08-03T10:10:35.667Z",
"isUsed": true,
"meta": {
"account_name": "MERCHANT(Qshop/Egoli)",
"account_number": "9978770274",
"bvn": "",
"requestSuccessful": true,
"responseCode": "00",
"responseMessage": "Reserved Account Generated Successfully"
},
"order": "62ea498e1908431f9caf7276",
"orderTotal": 22000,
"platformKey": "providus",
"platformName": "Providus",
"shop": "61a956d91a113f7e13c45c15"
}
},
"paymentPlatform": "61a6406c18ae008099246a8d",
"shop": "61a956d91a113f7e13c45c15",
"status": "62597ba57b912008a11e1206",
"statusLogs": [
"62597ba57b912008a11e1206"
],
"transactionReference": "202210301006807500001631",
"type": "order-payment",
"virtualBankAccount": "62ea499b1908431f9caf727b"
},
"msg": "Transaction updated",
"success": true
}curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{transactionId} \
--header 'Content-Type: application/json' \
--data '
{
"breakdown": {
"aggregate": 816.875,
"amount": 18500,
"bankCharge": 76.875,
"payout": 17683.125,
"qshopCharge": 740
}
}
'{
"data": {
"__v": 0,
"_id": "62ea571509bd2e9be7de9edd",
"amount": 18500,
"breakdown": {
"aggregate": 816.875,
"amount": 18500,
"bankCharge": 76.875,
"payout": 17683.125,
"qshopCharge": 740
},
"createdAt": "2022-08-03T11:08:05.921Z",
"meta": {
"accountNumber": "9978770274",
"channelId": "1",
"currency": "NGN",
"feeAmount": "500",
"initiationTranRef": "",
"sessionId": "0000042103011805345648005069266636442358859209",
"settledAmount": "18500",
"settlementId": "202210301006807500001631",
"sourceAccountName": "CASAFINA CREDIT-EASY LOAN",
"sourceAccountNumber": "2093566866",
"sourceBankName": "UNITED BANK FOR AFRICA",
"tranDateTime": "2021-03-01 18:06:20.000",
"tranRemarks": "FROM UBA/ CASAFINA CREDIT-EASY LOAN-NIP/SEYI OLUFEMI/CASAFINA CAP/0000042103015656180548005069266636",
"transactionAmount": "19000",
"vatAmount": "0",
"virtualBankAccount": {
"__v": 0,
"_id": "62ea499b1908431f9caf727b",
"accountName": "MERCHANT(Qshop/Egoli)",
"accountNumber": "9978770274",
"created": "2022-08-03T10:10:35.667Z",
"isUsed": true,
"meta": {
"account_name": "MERCHANT(Qshop/Egoli)",
"account_number": "9978770274",
"bvn": "",
"requestSuccessful": true,
"responseCode": "00",
"responseMessage": "Reserved Account Generated Successfully"
},
"order": "62ea498e1908431f9caf7276",
"orderTotal": 22000,
"platformKey": "providus",
"platformName": "Providus",
"shop": "61a956d91a113f7e13c45c15"
}
},
"paymentPlatform": "61a6406c18ae008099246a8d",
"shop": "61a956d91a113f7e13c45c15",
"status": "62597ba57b912008a11e1206",
"statusLogs": [
"62597ba57b912008a11e1206"
],
"transactionReference": "202210301006807500001631",
"type": "order-payment",
"virtualBankAccount": "62ea499b1908431f9caf727b"
},
"msg": "Transaction updated",
"success": true
}"62ea571509bd2e9be7de9edd"
Update transaction
Show child attributes
0
"62ea571509bd2e9be7de9edd"
18500
"2022-08-03T11:08:05.921Z"
Show child attributes
"9978770274"
"1"
"NGN"
"500"
""
"0000042103011805345648005069266636442358859209"
"18500"
"202210301006807500001631"
"CASAFINA CREDIT-EASY LOAN"
"2093566866"
"UNITED BANK FOR AFRICA"
"2021-03-01 18:06:20.000"
"FROM UBA/ CASAFINA CREDIT-EASY LOAN-NIP/SEYI OLUFEMI/CASAFINA CAP/0000042103015656180548005069266636"
"19000"
"0"
Show child attributes
0
"62ea499b1908431f9caf727b"
"MERCHANT(Qshop/Egoli)"
"9978770274"
"2022-08-03T10:10:35.667Z"
true
Show child attributes
"MERCHANT(Qshop/Egoli)"
"9978770274"
""
true
"00"
"Reserved Account Generated Successfully"
"62ea498e1908431f9caf7276"
22000
"providus"
"Providus"
"61a956d91a113f7e13c45c15"
"61a6406c18ae008099246a8d"
"61a956d91a113f7e13c45c15"
"62597ba57b912008a11e1206"
["62597ba57b912008a11e1206"]"202210301006807500001631"
"order-payment"
"62ea499b1908431f9caf727b"
"Transaction updated"
true
Was this page helpful?