let result1 = await axios.post(`https://api.coinbase.com/v2/accounts/${user_id}/transactions/`, JSON.stringify({
type: "request",
to: "xxxx@gmail.com",
amount: "0.001",
currency: "BTC",
description: `${user_name} requested you to send 0.001 BTC`
}), {
headers: {
'Content-Type': 'application/json',
'Authorization': `bearer ${access_token}`,
'CB-VERSION': '2021-11-06',
}
})
When I call this axios, it returns 404 Not Found.
I have already tried to use curl but its return service is unavailable at current.
Thank you for your reading and I really appreciate your help.