Skip to main content
Update Organization Profile

Authorizations

Authorization
string
header
required

Authorization header containing an SDP JWT (ES256) or an SDP_ API key.

Body

multipart/form-data

The logo of the organization, file type must be png or jpeg.

data
string<json>

A JSON string that contains the details to update. Every key is optional; only the keys you send are changed.

  • organization_name (string): the new name of the organization, up to 64 characters.
  • timezone_utc_offset (string): the new timezone offset of the organization.
  • is_approval_required (boolean): whether the approval workflow is enabled or not.
  • is_link_shortener_enabled (boolean): whether registration links sent to receivers are shortened.
  • is_memo_tracing_enabled (boolean): whether payments carry a tracing memo.
  • receiver_registration_message_template (string): the message template sent to the receivers inviting them to registration. Up to 255 characters, and it cannot contain HTML, JS or CSS. Sending this field empty sets the default value for it.
  • otp_message_template (string): the message template sent to the receivers sending the OTP to complete the registration flow. Sending this field empty sets the default value for it.
  • privacy_policy_link (string): a URL to the organization privacy policy. Sending it empty clears it.
  • webhook_url (string): an https URL the SDP delivers outbox events to. Owner only; sending it empty clears it.
  • receiver_invitation_resend_interval_days (number): how often an unregistered receiver is re-invited. Sending 0 clears it.
  • payment_cancellation_period_days (number): how long a READY payment waits before it is canceled automatically. Sending 0 clears it.
  • mfa_disabled (boolean): whether multi-factor authentication is turned off for dashboard sign-in.
  • captcha_disabled (boolean): whether reCAPTCHA is turned off.
  • receiver_invitations_disabled (boolean): whether receiver invitation messages are suppressed.

For example:

{"organization_name": "NewOrgName", "timezone_utc_offset": "+02:00", "is_approval_required": true, "receiver_registration_message_template": "You have a payment waiting for you from {{.OrganizationName}}. Click {{.RegistrationLink}} to register.", "otp_message_template": "{{.OTP}} is your {{.OrganizationName}} phone verification code."}

Response

OK

message
string
required