Create inbound API credentials in the Unity Portal so your backend can open Payout Sessions.
Payout Drop-in uses inbound API credentials on your backend only. The browser never receives the inbound token value. Your backend creates a payout session with HMAC signing, then passes the session response into PayoutDropIn.initialize().
Open inbound credentials like this:
- In the Unity Portal, go to Merchant setup > Merchant groups.
- Select a merchant group.
- Click the Inbound calls tab.
- Copy the Client Id in the top-right corner.
Create and store a token like this:
- Click + New token.
- Enter an expiration period. For example,
30. - Click Save. Your inbound token is created.
- Copy both the token Id and Value.
- Store the client identifier and token value as environment variables on your server. Never hardcode them in your application or send them to the browser.
Rotate tokens according to your security policy.
Use those credentials to create a session with serviceType: "PayoutDropIn" and transactionMethod.intent values of Payout for each method you enable. Sign the request with HMAC SHA256 using your token value.
Full request construction, headers, and examples are in the Web SDK quickstart and Implementation guides.