⚠️ If you’re integrating Forage with a POS Terminal, then do not use this param. It is only supported for online transactions.
A unique identifier for the end customer making the payment.
Forage automatically adds the customer_id to the Session's corresponding Order and OrderPayments.
This field helps Forage's servers more quickly identify the customer associated with the request. While customer_id is not technically required, if you omit it then requests could take longer to process. It is strongly recommended to pass customer_id.
If you're providing your internal customer ID, then we recommend that you hash the value before sending it on the payload.
Each customer should only have one unique customer_id. For example, if you create both a PaymentMethod and a Forage Session (Fully Hosted or Custom) or Payment (SDK) for the same customer, then the customer_id should be the same in both requests to ensure continuity of stored payment methods.