curl --location --request POST 'https://api-staging.tenbyte.io/v1/payments' \
--header 'X-Environment-ID: env_01K5KMYHVKW6WGZG7RR65Y78YH' \
--header 'x-api-key: sk_01K5NT1G7MR8YST12YRQF2C7XP' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 10,
"currency": "usd",
"destination_id": "inv_01K5P2XX7H8H9CB0PB83W1TAZ1",
"destination_type": "INVOICE",
"payment_method_type": "PAYMENT_LINK",
"process_payment": true,
"payment_gateway": "stripe",
"success_url": "https://admin-dev.flexprice.io/customer-management/invoices/inv_01K5P2XX7H8H9CB0PB83W1TAZ1?page=1",
"cancel_url": "https://admin-dev.flexprice.io/customer-management/invoices/inv_01K5P2XX7H8H9CB0PB83W1TAZ1?page=1"
}'