Using Single Sign-On with the Agent Interface

Overview

PayNearMe gives clients the ability to set up single sign-on (SSO) services in one of the following ways:

Okta and Azure use the SAML protocol to give your agents access to the PayNearMe Agent Interface without the hassle of creating and maintaining a separate set of credentials. To set up an Okta or Azure SSO configuration, you’ll need to exchange some information with your PayNearMe Technical Account Manager (TAM) and then configure your SAML settings in your Okta instance.

The /agent_sso API enables agents authenticated by the client solution to access the PayNearMe Business Portal without having to submit a separate password. Clients also have the option to take the agent directly to the order, so that he or she can quickly make payments on behalf of the consumer without having to search for the correct account in the PayNearMe UI.

Defining Roles

To successfully map to a single sign-on protocol, you’ll need to define roles or a user_type for each user. Roles are a grouping of permissions that grant users with a specified user_type access to different functionality in the Business Portal. Roles can be made up of the following permissions, which your PayNearMe TAM will set up for your site.

❗️

Roles for API Method

For security, agents that access the Business Portal via the /agent_sso endpoint are limited to a subset of roles that are listed in the Using SSO with the API section.

PermissionDescription
AdminProvides access to the Admin tab where users can edit business details, view/add users, and review the site’s charge history.
Create Customers/AccountsGrants the ability to create customers and accounts. NOTE: Requires the View Customers/Accounts permission.
Edit Customers/AccountsGrants the ability to edit customer and account information such as name, email, and phone number (NOTE: This does not include the preferred phone number as only the consumer can edit this value.)
View Customers/AccountsProvides access to view customer and account information.
View PaymentsProvides access to view payment information
ConfigureGrants access to the Configure tab where users can configure callback URLs, edit the site’s logo, etc.
CommunicateProvides the user with the ability to send emails and texts to consumers.
Agent InterfaceGives the user access to the Agent Interface where he/she can view customer and payment data. NOTE: All merchant users should have access to the Agent Interface.
DeveloperProvides access to the Developer tab where the user can access API documentation and the site’s API Keys.
Manage UsersProvides access to the Admin tab where business portal users can be managed (create, edit, remove).
ReportsProvides access to Reconciliation and Settlement reports in the Payments section.
Agent Interface Electronic PaymentsGrants the ability to process an electronic payment within the Agent Interface.
Refund Electronic PaymentsGrants the ability to initiate a partial or full refund for an electronic payment.
SupervisorProvides ability to override merchant business rules. For example, if there is a minimum payment requirement set by a business rule, then a supervisor would be able to override this restriction and process the payment.
View DisbursementsProvides access to the Disbursements section where disbursements can be viewed. It also enables merchants to view disbursements on the customer screen.
Alternate Autopay AuthorizationsProvides access to a different list of autopay authorization methods.
Approve DisbursementsProvides access to the Disbursements section where disbursements can be approved. It also enables merchants to view and approve disbursements on the customer screen.
Create DisbursementsProvides access to the Disbursements section where disbursements can be created. It also enables merchants to create disbursements on the customer screen.
Schedule AutopayGrants the ability to set a recurring autopay schedule in the Agent Interface.
Cancel AutopayGrants the ability to cancel a recurring autopay schedule.
Waive FeesGrants the ability to waive fees.
Cancel DisbursementsProvides access to the Disbursements section where disbursements can be canceled. It also enables merchants to view and cancel disbursements on the customer screen.
Beta FeaturesProvides access to various beta features.
Sensitive DataGrants the user access to view Personal Identifiable Information (PII).
Manage RiskGrants the user the ability to unblock ACH payment methods that were previously blocked because of returns.

Adding Deep Links

Deep Links take users to a specified customer/account record or order without having to first search the Agent Interface. This saves time and provides your consumers with a better customer support experience. To enable deeplinking, PayNearMe uses a Service Provider Entity ID-initiated login flow to create the SAML assertion. This Entity ID must be unique in the PayNearMe system and will typically include the Site Name and environment type (e.g., alendingmerchant-DEV) followed by one of the following identifiers:

  • site_order_identifier
  • pnm_order_identifier
  • site_customer_identifier

Deep Link URLs use the following structure:
protocol://host/saml_login/sp_entity_id/(optional order identifier)

For example,
https://pro.paynearme-sandbox.com/saml_login/alendingmerchant-DEV/88234764711

For more information about deeplinking, contact your PayNearMe TAM.