Creating a charge

If i create a no price charge. Can i see the amount the user sent to the address when coinbase sends the webhook and also can i see how each webhoook looks like for each case. Because i am a bit confused

Hi @doe! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your inquiry, we will check on this for you with our team to see how we can best assist. We’ll get back to you once we have more information. Keep in touch!

1 Like

Hello @doe!

The API will show the amount sent to the charge address. For a no price charge (donation flow) you should subscribe to Webhook eventscharge:confirmed.

Doc reference: Webhook Fields and Events | Coinbase Cloud

For this sample of charges endpoint: https://api.commerce.coinbase.com/charges/MXMF3QYD, you can see in the response that there is payment info, even though local_price = null