Hi! Would be thankful for any help. I have problem with using api Post method.
Here is the example of code:
curl --location --request POST 'https://api.nowpayments.io/v1/payment' \
--header 'x-api-key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"price_amount": 3999.5,
"price_currency": "usd",
"pay_currency": "btc",
"ipn_callback_url": "https://nowpayments.io",
"order_id": "RGDBP-21314",
"order_description": "Apple Macbook Pro 2019 x 1"
}'
I have created a Custom Action with POST that calls base url https://api.nowpayments.io/v1/payment
But I have problems with passing Headersβ¦
I tried to use different options but still got error βInvalid API keyβ
Maybe someone could create a Custom action with successfull auth and could show a screenshot of the Headersβ¦
I attached screenshots of what I done.