Order Status
Endpoint elaborates on how you can check the Order Status of the payment.
Endpoint:
curl --location 'https://api.resmic.com/api/v1/makepayment/payment-status?session_id=<SESSION_ID>
--header 'x-api-key: <YOUR_API_KEY>' \
--header 'x-user-id: <YOUR_USER_ID>'Sample Request
const axios = require('axios');
let session_id = ""// Add the session ID here.
let config = {
method: 'get',
url: `https://api.resmic.com/api/v1/makepayment/payment-status?session_id=${session_id}`,
headers: {
'x-api-key': 'API_KEY', // Add the API_KEY here
'x-user-id': 'USER_ID' // Add the user_id here.
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Sample Response
Last updated