Request money API

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.

Hi @ ductridev , thank you for what you’ve reported regarding encountering a 404 error when utilising https://api.coinbase.com/v2/accounts/${user_id}/transactions with type “request” is a known problem on our end that have been already escalated to our engineering team, and we will get back to you once we have more information.

About the error “service_unavailable”, we are currently in the process of investigating this as it seems to be a spread out issue, and we are working to fix this issue. We will update this post once we have more information to share, thanks folks for your patience.

Edit: Response updated.

2 Likes