Update payer
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_id
Request
This endpoint expects an object.
country_code
Allowed values:
country_sub_division
State, province, or country subdivision
city
City or town name
address_line
Street address, building number, postal code, etc.
postal_code
Zip or postal code
name
Name may contain only letters A-Z and a-z, characters in U+00C0-U+017F (accented Latin letters such as é, ñ, ü, ł, plus × and ÷), digits, spaces, hyphens (-), underscores (_), and straight apostrophes (’). Other punctuation, such as & , . / ( ), en or em dashes, and curly apostrophes (’), is not allowed.
email
Must be a valid email address. Special-use domains are rejected: .arpa, .invalid, .local, .localhost, .onion, and .test.
Response
Payer updated successfully
data
warning