Problem when implementing "CURL" to the midtrans payment system

I am trying to implement the “CURL” command for the Midtrans payment system. For API documentation source I took it from their site

There are several references about CURL in this forum that I have tried, but nothing has been successful, starting from using the CURL extension or manual methods with web components.

Here are the blocks I have tried:

When I tested the block, a notification appeared “message an unexpected error occurred”. I have tried several methods for several days, but there are no satisfying results.
Maybe someone can help me? Thank you in advance :grinning:

Have a look at this,

Did you set the parameters correctly? Did you check quotes, chavrs, parameter names? Show us