POST
/
api
/
v2
/
subscriptions
/
mandate
/
port
curl --request POST \
  --url https://sandbox.cashfree.com/api/v2/subscriptions/mandate/port \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <x-client-id>' \
  --header 'X-Client-Secret: <x-client-secret>' \
  --data '{
  "customerDetails": {
    "customerEmail": "john.doe@gmail.com",
    "customerPhone": "9999999999",
    "debitAccountNumber": "1234567890",
    "debitAccountHolderName": "John Doe",
    "debitBankId": "SBIN",
    "debitAccountType": "SAVINGS"
  },
  "subscriptionDetails": {
    "umrn": "SBIN0000000000000000",
    "paymentType": "E_MANDATE",
    "fixedAmount": 10,
    "maxAmount": 100,
    "portingFrequency": "MNTH",
    "startDate": "2025-03-28",
    "endDate": "2025-08-04",
    "maxCycles": 10,
    "subscriptionId": "subs-import-mandate",
    "firstChargeDate": "2025-04-03"
  }
}'
{
  "status": "OK",
  "message": "Mandate Porting Successful",
  "data": {
    "subReferenceId": 12345,
    "subscriptionId": "subs-import-mandate",
    "status": "ACTIVE"
  }
}

Headers

X-Client-Id
string
required

Client ID provided by Cashfree.

Example:

"asdf1234"

X-Client-Secret
string
required

Client Secret provided by Cashfree.

Example:

"qwer9876"

Body

application/json
customerDetails
object

Details of the customer.

subscriptionDetails
object

Details of the subscription.

Response

200
application/json
Mandate ported successfully.

The response is of type any.