Skip to navigation

v2.0.21

This release includes breaking changes. It corrects the organization details types to match the API, renames the ticket amount fields on paypoint credentials and the request type for query.list_organizations, and adds an organizations client for the intelligent boarding API (beta). See October 20, 2026 and October 22, 2026 and October 27, 2026 for more information.

Basic organization details return a response envelope

organization.get_basic_organization and organization.get_basic_organization_by_id now return Result<GetBasicOrganizationResponse, ApiError> instead of Result<OrganizationQueryRecord, ApiError>. The organization details are in response_data, alongside is_success and response_text.

// Before
let org: OrganizationQueryRecord = client.organization.get_basic_organization("my-org", None).await?;
// After
let basic: GetBasicOrganizationResponse = client.organization.get_basic_organization("my-org", None).await?;
let org: Option<OrganizationQueryRecord> = basic.response_data;

Organization details types match the API

OrganizationQueryRecord changes these field types:

  • billing_info is now Option<InstrumentResponse> instead of Option<Instrument>. InstrumentResponse has ach_account, ach_routing, billing_address, billing_city, billing_country, billing_state, and billing_zip (Option<String>).
  • contacts is now Option<Vec<ContactsResponse>> instead of Option<ContactsField>. ContactsResponse has contact_name, contact_email, contact_title, and contact_phone.
  • org_logo is now Option<String>, the logo’s URL, instead of Option<FileContent>.

It also adds org_favicon (Option<String>), the URL of the organization’s favicon. The field names are unchanged, but their JSON names now match the PascalCase names the API returns, such as OrgId and BillingInfo.

Ticket amount fields renamed

PayabliCredentialsPascal renames max_ticket to maxticket and min_ticket to minticket.

// Before
let credentials = PayabliCredentialsPascal {
max_ticket: Some(MaxTicket(1000.0)),
min_ticket: Some(MinTicket(1.0)),
..Default::default()
};
// After
let credentials = PayabliCredentialsPascal {
maxticket: Some(MaxTicket(1000.0)),
minticket: Some(MinTicket(1.0)),
..Default::default()
};

ListOrganizationsQueryRequest renamed

The request type for query.list_organizations is now QueryListOrganizationsQueryRequest, because the new organizations client has its own list request. The fields are unchanged.

// Before
let orgs = client.query.list_organizations(123, &ListOrganizationsQueryRequest::default(), None).await?;
// After
let orgs = client.query.list_organizations(123, &QueryListOrganizationsQueryRequest::default(), None).await?;

Organizations client (beta)

ApiClient adds organizations, with list_organizations, create_organization, get_organization, and update_organization. list_organizations takes &OrganizationsListOrganizationsQueryRequest, and create_organization takes &CreateOrganizationOrganizationsRequest, which holds one of CreateOrganizationWithInlineBusiness, CreateOrganizationWithBusinessReference, or CreateOrganizationAllFields. The methods return envelope types, such as PaypointDetailEnvelope. These endpoints only accept OAuth. See OAuth authentication.

let detail: PaypointDetailEnvelope = client.organizations.get_organization("org-reference", None).await?;

Other changes

  • MethodsListOut adds rtp and wire (Option<bool>).
  • PaypointSummaryResponse adds external_id (Option<String>).