Skip to main content
Get Organization Info

Authorizations

Authorization
string
header
required

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

Response

Returns organization details

name
string
required
Example:

"Stellar Aid"

logo_url
string
required
Example:

"https://stellar-disbursement-platform-backend-dev.stellar.org/organization/logo"

distribution_account
object
required
timezone_utc_offset
string
required
Example:

"+00:00"

is_approval_required
boolean
required

Enables multi-user approval workflow for disbursements

Example:

true

receiver_invitation_resend_interval_days
integer
required

The amount of days that the SDP will wait to resend the invitation to the receivers that have not registered. If 0, that means the resending invitation feature is disabled.

Example:

5

payment_cancellation_period_days
integer
required

The amount of days that the SDP will wait to cancel a payment that is waiting for the receiver to register. If 0, that means the payment cancellation feature is disabled.

Example:

5

The link to the organization privacy policy

Example:

"https://stellar.org/privacy-policy"

distribution_account_public_key
string

DEPRECATED! Please refer to distribution_account.address instead.

Example:

"GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL"

webhook_url
string<uri> | null

HTTPS destination the SDP delivers outbox events to. Must use https.

Example:

"https://example.org/sdp-events"

receiver_registration_message_template
string

The custom template used to send invitations to receivers. The default message isn't returned. In the message's content it's possible to add the following template variables: {{.OrganizationName}} which is the Organization Name configured and {{.RegistrationLink}} which is the link generated by SDP to send to the receiver (in case this is not present in the message, it's automatically appended at the end).

Example:

"You have a payment waiting for you from {{.OrganizationName}}. Click {{.RegistrationLink}} to register."

otp_message_template
string

The custom OTP message template set to send OTP code to the receiver complete the registration flow. The default message isn't returned. In the message's content it's possible to add the following template variables: {{.OrganizationName}} which is the Organization Name configured and {{.OTP}} which is the OTP code to send to the receiver complete the registration flow (in case this is not present in the message, it's automatically appended at the end).

Example:

"{{.OTP}} is your {{.OrganizationName}} phone verification code."