crul --request POST \
--url https://api.portone.cloud/api/subscription/createDeduction \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9....MiwiZXhwIjoxNjczMzM5MDMy' \
--header 'X-Portone-Client-Key: pptafmcddmszvgXl' \
--header 'content-type: application/json' \
--data '
{
"portone_key": "pptafmcddmszvgXl",
"signature_hash": "10b664f803035a2146b26949041c2ce8c8693512e4b85159d3c43b001a714af0",
"merchant_order_ref": "MERCHANT16173668773214",
"subscription_order_ref": "2io9YeRpABYEusCaoFT4h8Tn312",
"currency": "USD",
"amount": 15.00,
"environment": "sandbox",
"source": "api"
}
'