Update payer

View as Markdown
Updates an existing payer's information. Only the provided fields will be updated.

Authentication

x-api-keystring

RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.

Path parameters

payer_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
country_codeenumOptional
country_sub_divisionstring or nullOptional<=35 characters
State, province, or country subdivision
citystring or nullOptional<=35 characters
City or town name
address_linestring or nullOptional<=500 characters
Street address, building number, postal code, etc.
postal_codestring or nullOptional<=16 characters
Zip or postal code
namestring or nullOptional1-255 characters
emailstring or nullOptionalformat: "email"<=255 characters

Response

Payer updated successfully
dataobject
warningstring or null