TreviPay enrollment URL

Learn how to use the TreviPay enrollment URL.

Digital River will provide the TreviPay enrollment form URL and redirect URL. You can include the enrollment form link on your homepage, product page, checkout page, or via your customer relationship management (CRM). The format for the enrollment form URL is: https://<progamName><Country>.b2b.credit/<locale>/apply?client_reference_id=<business-UUID>

Example: https://acmeUS.b2b.credit/en-US/apply?client_reference_id=Acme-123456

Attribute

Description

<programName>

The name of the program. TreviPay URLs are static and mapped to the specific program.

client_reference_id

The identifier used to identify the business. This is a string without the restriction of character types and can be up to 50 characters in length. Each ecosystem (Digital River API) will be responsible for sending TreviPay a unique client_reference_ID for a shopper enrollment.

The value for the string is the business's universally unique identifier (UUID) (for example: Acme-123456).

<locale>

A designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code (for example, en-US).

Including the ecommerce URL in the enrollment URL

Include an ecommerce_url in the enrollment form URL when redirecting the customer to the TreviPay enrollment form. The format for the enrollment form with a redirect is:

https://<white-label>.b2b.credit/<locale>/apply?client_reference_id=<business-UUID>&ecommerce_url=<www.returnURL.com>

Example: https://acmeUS.b2b.credit/<locale>/apply?client_reference_id=Acme-123456&ecommerce_url=www.acme-returnURL.com

Attribute

Description

ecommerce_url

The redirect URL to your website (for example, www.acme-returnURL.com).

You must include a client_reference_id with the return URL when redirecting to the TreviPay enrollment form.