Payment
Request to make a payment trought Sellizon api
❓What is this request for ?
With this request you can send money to another sellizon user.
The refund system is currently unavailable, so be sure to check who you're sending your money to.
😑 Request example
const axios = require("axios")
async function makePayment(userId, RecipientId, paymentCode, Amount) {
const data = { event: "pay", data: { paymentCode, UserId: `${userId}`, RecipientId: `${RecipientId}`, Amount: `${Amount}` } }
try {
const response = await axios.post("https://sellizon.epicbots.xyz/public", data, {
headers: {
'Content-Type': 'application/json',
}
})
return response.data
} catch (error) {
console.error('Error:', error.response ? error.response.data : error.message)
return null
}
}
await makePayment("12346", "98764", "hjndrg54-5r4d1gd", "24,9")
Last updated