Authorizations
Access token
Body
application/json
Commerce Engine is now in beta. We're working hard to make it better for you.
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>"
}
}
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
Was this page helpful?