m2pfintech
API LibraryCustomer

Update Nominee Details

Adds or updates the nominee details for a customer account. Nominees are individuals designated to receive account benefits in case of the account holder's demise.

Nominee Details

  • Name, relationship, DOB, age
  • Address and mobile number
  • Percentage share (must total 100% across all nominees)
  • Guardian details (required if nominee is a minor)
POST
/v1/customers/support/nominee/{entityId}

Authorization

bearerAuth tenantId
AuthorizationBearer <token>

JWT Bearer token from the Authentication API

In: header

X-TENANT-ID<token>

Your unique tenant identifier assigned during onboarding

In: header

Path Parameters

entityId*string

Customer entity ID

Header Parameters

X-TENANT-ID*string

Your unique tenant identifier

Request Body

application/json

Array of nominee objects to add or update

Response Body

application/json

application/json

application/json

curl -X POST "https://sandbox-api.m2pprepaid.com/prepaid/customer/v1/customers/support/nominee/615928984620006085281025" \  -H "X-TENANT-ID: ACME_CORP" \  -H "Content-Type: application/json" \  -d '[    {      "name": "John Doe",      "relationship": "Son",      "dob": "1990-01-01",      "age": 33,      "minor": false,      "address": {        "address1": "123 Main St",        "city": "Bangalore",        "state": "Karnataka",        "country": "India",        "pin": "560001"      },      "percentShare": 100,      "mobile": "9876543210"    }  ]'
{
  "result": {},
  "pagination": {
    "list": true,
    "pageSize": 0,
    "pageNo": 0,
    "totalPages": 0,
    "totalElements": 0
  }
}
{
  "type": "https://www.m2pfintech.com/problem/problem-with-message",
  "title": "Bad Request",
  "status": 400,
  "detail": "Unable to convert http message",
  "message": "error.http.400"
}
{
  "type": "https://www.m2pfintech.com/problem/problem-with-message",
  "title": "Invalid request",
  "status": 409,
  "detail": "Invalid request",
  "message": "error.business",
  "businessCode": "PPCUST_010"
}