App registration
To register your application in YooMoney, follow these steps:
Step 1. Log in to your YooMoney wallet with your username. If you don’t have a wallet, create it.
Step 2. Go to the App registration page.
Step 3. Set the application parameters:
Parameter | Description |
---|---|
Name for users | The name of your application (for example, Mobile store ). |
Web address | Link to the application’s or the developer’s website. |
Contact email | Your email address. |
Redirect URI | URI for returning the result of application authorization (see redirect_uri in the OAuth 2.0 Authorization Protocol). |
Logo | Your application’s logo. |
Verify app authenticity (OAuth2 client_secret ) | Specify whether you want to use the secret word for verifying the authenticity of the application (see the description of client_secret in The OAuth 2.0 Authorization Framework). |
Step 4. Click the Confirm button.
The App data page opens, where you will see the name of your application, its ID (
client_id
), and, if the corresponding option is selected, the secret word that was generated (client_secret
).Done!
The application developer should never openly publish the application’s
client_id
anywhere.Leaking the
client_id
might provoke “phishing attacks,” where applications or sites are launched to get access tokens in your name. If this happens, YooMoney will assume that it is receiving requests from your application.To prevent this, you can use the secret word (
client_secret
) known only to the app developer. The application developer should ensure that the secret word (client_secret
) is kept confidential.