Skip to main content

Initialize adPayment

In the user-scoped token scenario, you require the following:

  • The host URL. We recommend that you use your test marketplace initially.
  • A client token provided by your server.
const adPayment = AppDirect.payment.configure({
client_token: 'user_scoped_oauth_token',
host: 'https://examplebaseurl.byappdirect.com'
});

Was this page helpful?