Skip to main content
Patch User Beneficiary
curl --request PATCH \
  --url https://api.yapily.com/users/{userId}/beneficiaries/{beneficiaryId} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '
[
  {
    "op": "replace",
    "path": "/name",
    "value": "John Doe"
  }
]
'
{
  "meta": {
    "tracingId": "<string>"
  },
  "data": {
    "beneficiaryId": "e7b7636d-a041-4013-8a1b-34dc85b7d341",
    "status": "PENDING",
    "details": {
      "name": "John Doe",
      "accountIdentifier": {
        "type": "IBAN",
        "identification": "DE12345123451234512345123"
      },
      "match": {
        "status": "FULL_MATCH",
        "closeMatchName": "John Doe"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.

Headers

sub-application
string<uuid>

The sub-application ID to which event type is being subscribed to

Path Parameters

beneficiaryId
string<uuid>
required

Beneficiary Id

Example:

"e7b7636d-a041-4013-8a1b-34dc85b7d341"

userId
string<uuid>
required
Example:

"e7b7636d-a041-4013-8a1b-34dc85b7d341"

Body

application/json-patch+json

The JSON Patch instructions to patch the beneficiary

op
enum<string>
required

The operation to be performed

Available options:
add,
replace
path
string
required

The path to the target location

value
string
required

The value to be added, replaced or tested

Response

OK

The user beneficiary response.

meta
object
data
object

Beneficiary data response.