POST
/
api
/
v2
/
subscriptions
/
seamless
/
authorization
curl --request POST \
--url https://sandbox.cashfree.com/api/v2/subscriptions/seamless/authorization \
--header 'Content-Type: application/json' \
--data '{
"subReferenceId": 123456,
"merchantTxnId": "merchant-txn-id-1",
"authPaymentInfo": {
"paymentType": "UPI",
"vpa": "johndoe@upi",
"authFlow": "UPI_COLLECT"
}
}'
{
"status": 200,
"message": "Authorization Created",
"data": {
"subReferenceId": 123456,
"authId": 23456789,
"authStatus": "INITIALIZED",
"merchantTxnId": "txn.id-1_2_3",
"authPaymentData": {
"paymentType": "UPI"
}
}
}

Headers

x-client-id
string
Example:

"{{X-Client-Id}}"

x-client-secret
string
Example:

"{{X-Client-Secret}}"

Body

application/json

Response

200
application/json

Successful authorization request.

The response is of type any.