Browse the docs

Reference · Payees

Update a payee

PATCHhttps://api.paygoro.com/v1/payees/{id}

Updates the given fields. Transfers already made keep the beneficiary details they were sent with.

Authorization

Requires a bearer API key with payees:write. See Authentication.

Path parameters

NameTypeDescription
idrequiredstringOpaque resource id.

Request body

application/json

FieldTypeDescription
namestringmax 70 chars
ibanstringmax 42 chars
defaultReferencestring | nullSet to null to clear.

Response

200 · application/json

FieldTypeDescription
idstringOpaque resource id.
companyIdstringOpaque resource id.
namestringmax 70 chars
ibanstringNormalized IBAN (uppercase, no spaces).
defaultReferencestring | null
lastUsedAtstring (date-time) | nullWhen a transfer to this payee was last initiated.
createdAtstring (date-time)Timestamp in RFC 3339 format (UTC).
updatedAtstring (date-time)Timestamp in RFC 3339 format (UTC).

Errors

400BAD_REQUESTThe request was malformed or failed validation.
401UNAUTHORIZEDMissing, malformed, expired or revoked API key.
403FORBIDDENThe API key does not have the scope this operation requires.
404NOT_FOUNDNo resource with this id exists in your workspace, or a `companyId` filter does not match one of your companies.
409CONFLICTA payee with this IBAN already exists for the company.
429TOO_MANY_REQUESTSRate limit exceeded. Retry after the `Retry-After` header.

All errors share one envelope — see Errors.