API Reference
Explore storefront endpoints
Generate PayU hash
curl --request POST \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/payments/generate-hash \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "payment_gateway": "<any>", "plain_text": "<string>" }'
{ "message": "<string>", "success": true, "content": { "hash": "<string>" } }
Access token
OK
The response is of type object.
object