Adding required information for specific payment methods
Learn how to add the information required to support a specific payment method.
Specific payment methods such as TreviPay require the organization identifier (organizationId
). For example, use the value associated with TreviPay's client reference_id
as the value for the organizationId
. The following instructions show you how to add or remove the organization identifier.
Adding an organization identifier to a cart
You can add a shopper's organization identifier when you update a cart. We pass the organization identifier to the payment session where the payment method becomes available.
Use the POST /shoppers/me/carts/active
resource to add an organizationId
to the cart.
Removing an organization identifier from the cart
Use the POST /shoppers/me/carts/active
resource and an empty organizationId
string to delete the organization identifier from the cart.
Last updated