# Payment method integrations

This is an internal document, do not share it with other organizations.

[Internal documentation payment method integrations](https://courseticket.atlassian.net/wiki/spaces/DOC/pages/89554945/Payment+method+integrations)

## How to set up PayOne account to get credentials.

1. Get a working PayOne account ready for production and [log in](https://portal.preprod.payone.com/)
2. On the left menu go to **Developer** > **Payment API** and generate a new **API key**. Share the API key ID and the API key secret with courseticket team (the secret will be displayed only during 60 seconds, after this time, it will never be displayed again). The keys should **never expire** (keys should never expire, if there is a message saying the keys will expire, please, take a full screen screenshot and send it to us via email).
3. Share the **PSPID** with courseticket team via email.
4. On the left menu go to **Developer** > **Webhooks** and generate new **webhook keys**. Share the Webhook ID and the Webhook secret with courseticket team (the secret will be displayed only during 60 seconds, after this time, it will never be displayed again)
5. In the Webhook configuration, add a new Endpoint URL <https://www.example.com/api/v3/checkoutConfirmPayone> (replacing [www.example.com](http://www.example.com) with the real platform domain)

## How to provide access to a team member in Stripe.

1. Login in the Stripe account and go to the [teams section](https://dashboard.stripe.com/settings/team)
2. Add a new team member with the email address <aws+ergow_stripe_prd@courseticket.com> and enable the following roles: "Developer", "Dispute Analyst"
