{
"status": true,
"message": "Transaction Successfully Sent For Repush"
}
{
"status": false,
"message": "Invalid Authorization Key "
}
curl --location --request GET 'https://api.oneappgo.com/v1/business/repushnotification' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data '{
"reference": "G670846795808"
}
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://api.oneappgo.com/v1/business/repushnotification',
'headers': {
'Authorization': 'Bearer SECRET_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"reference": "G670846795808"
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.oneappgo.com/v1/business/repushnotification',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"reference": "G1670846795808"
}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer SECRET_KEY',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
```
import requests
import json
url = "https://api.oneappgo.com/v1/business/repushnotification"
payload = json.dumps({
"reference": "G1670846795808"
})
headers = {
'Authorization': 'Bearer SECRET_KEY',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
{
"status": true,
"message": "Transaction Successfully Sent For Repush"
}