PG Transaction Status V2
Post https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus
We will pass this Receipt no in the request parameter of “Transaction Status API” and you will get the status of your transaction in response.
Body Parameters
{ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }
Responses

200
200

Response
200

RESPONSE BODY
Json

403
403

Response
403

RESPONSE BODY
Object
responsecode integer
status boolean
message string
Did this page help you? Yes No
Language





cURL
curl --location 'https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus' \ --header 'Content-Type: application/json' \ --data '{ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }'
import requests import json url = 'https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus' payload = json.dumps({ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }) headers = { "Content-type" : "application/json" } response = requests.request("POST", url, headers=headers, data=payload) print (response.text)
var requests = require("request"); var options = { "method" : "POST", "url" : 'https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus', "headers" : { "Content-Type" : 'application/json' }, body: JSON.stringify({ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }) }; request(options, function(error, response){ if(error) throw new Error(error); console.log(response.body); });
var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Post,'https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus') var content = new StringContent( "{ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }", null,"application/json" ); request.Content = content; var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync());
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.businessonlinesolution.in/api/AOP/V4/StandardPaymentLinkStatus', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => '{ "txnID": "BOS5XXXXX6617", "RegistrationID": "AOP-554" }', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
RESPONSE


200
403
-Result
Example

-
200
-Result
Example
-
403
-Result
Example
{ "txnRefranceID": "BOS5XXXXX6617", "TransferAmount": "5.00", "ServiceChargeAmount": "0.06", "GSTAmount": "0.01", "ServiceChargeWithoutGSTAmount": "0.05", "ActualTransferAmount": "4.94", "TransactionDate": "24/10/2024 00:00:00", "RegistrationID": "AOP-554", "Status": "True", "message": "Transaction has been Done Successfully againts of TxnRefanceID :BOS5XXXXX6617", "Value": "" "ResponseMessage": "Transaction successfully", }
{ "Status": "403", "code": null, "Message": "Pay Customer Name is Required", "PGOrderID": null, "PreparePOSTForm": null }