Skip to main content
PATCH
/
recipient-counterparties
/
{recipientCpId}
Updates an existing recipient counterparty for the authenticated user or entity.
curl --request PATCH \
  --url https://api.nuvion.tech/recipient-counterparties/{recipientCpId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John Smith",
  "email": "[email protected]",
  "address": {
    "city": "Brooklyn",
    "state": "NY",
    "postal_code": "11201",
    "country_code": "US",
    "line_1": "456 Park Ave",
    "line_2": "Unit 7C"
  },
  "account_details": {
    "account_number": "9876543210",
    "account_type": "savings",
    "payment_rails": "bank"
  },
  "meta": {
    "preferred_contact_method": "sms",
    "phone_number": "+15551234567"
  }
}
'
{
  "message": "Recipient counterparty updated successfully",
  "status": 200,
  "data": {
    "id": "01HJ5G6R7MXW5ZK2QD6YA8N9F3",
    "entity_id": "01HJ5G6R7MXW5ZK2QD6YA8N9F4",
    "type": "individual",
    "entity_relationship": "customer",
    "name": "John Smith",
    "email": "[email protected]",
    "address": {
      "city": "Brooklyn",
      "state": "NY",
      "postal_code": "11201",
      "country_code": "US",
      "line_1": "456 Park Ave",
      "line_2": "Unit 7C",
      "line_3": null
    },
    "account_details": {
      "issuer": {
        "code": "CHASE",
        "name": "JPMorgan Chase Bank",
        "short_name": "Chase"
      },
      "account_number": "9876543210",
      "routing_number": "021000021",
      "account_type": "savings",
      "country": "US",
      "payment_rails": "bank"
    },
    "meta": {
      "preferred_contact_method": "sms",
      "phone_number": "+15551234567"
    },
    "created_at": "2025-09-12T08:00:00.000Z",
    "updated_at": "2025-09-12T10:30:00.000Z"
  }
}

Headers

Authorization
string
required

Authorization header: Bearer {jwt or Secretkey}

Path Parameters

recipientCpId
string
required

The unique identifier (ULID) of the recipient counterparty to update

Body

application/json
type
string

The type of counterparty

entity_relationship
string

The relationship between the entity and the counterparty

name
string

The name of the counterparty

email
string

The email address of the counterparty

address
object

The address information of the counterparty

account_details
object

The bank account or payment details for the counterparty

meta
object

Additional metadata about the counterparty

Response

Updated successfully

message
string
required

A descriptive message indicating the result of the operation

status
string
required

The status of the API operation (successful, error, failed, pending)

data
object
required

Contains the updated counterparty details