/agent_sso

After your PayNearMe Technical Account Manager has configured your site to allow for Agent SSO Token Authentication, you can begin submitting calls to the /agent_sso endpoint. The call returns an authenticating token and the SSO URL where the agent can access the Business Portal and/or the specific order. Optional deep_link parameters can open a specific workflow on that order, such as a refund or an Autopay setup. Targeted deep links are off by default and must be enabled for your site by your PayNearMe Technical Account Manager (TAM).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Grant access to the Business Portal, an order, or a specific workflow on that order.

Returns an authenticating token and SSO URL where an agent can access the Business Portal and/or a specific order. Optional deep-link parameters open a specific workflow on that order. Targeted deep links must be enabled for your site by your PayNearMe Technical Account Manager (TAM).

string
required
Defaults to S2411573363

Identifies your client site.

string
required

The Unix Epoch time of the call

string
required
Defaults to 3.0

The version of the API. This version must match the version associated with your API key pair.

string

The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm.

NOTE: This field is required when authenticating with the HMAC signature method; it is not required when authenticating with OAuth 2.0.

string
required
Defaults to [email protected]

The email address of the agent.

string
required
Defaults to Rory smith

The name of the agent.

string
required
Defaults to agent

The name of the role set for this agent.

string
Defaults to 84338052224

One of the following order identifiers, which can be used to locate the order after the agent authenticates into the Business Portal

  • pnm_order_identifier
  • site_order_identifier
  • site_customer_identifier
Required when deep_link is included.

Allowed:
string

The pnm_payment_identifier of the payment to refund. Required when deep_link is refund. The value can be up to 64 characters. Sending payment_identifier without a deep_link returns an error. If deep_link names a workflow that does not use this identifier, the value is not included in the returned sso_url. The identifier is not checked when the link is created. If the payment cannot be found or refunded, the call still succeeds, and the agent lands on the order page with a message explaining why the refund did not open.

string

The pnm_scheduled_payment_identifier of the scheduled payment or Autopay schedule. Required when deep_link is cancel_future_payment or deactivate_autopay. The value can be up to 64 characters. Sending schedule_identifier without a deep_link returns an error. If deep_link names a workflow that does not use this identifier, the value is not included in the returned sso_url. The identifier is not checked when the link is created. If the schedule cannot be found or acted on, the call still succeeds, and the agent lands on the order page with a message explaining why that workflow did not open.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json