Authorize
Create OAuth Token
Each payment should be authorized in one of three available modes:
- <code>client_credentials</code> - used for standard integration,
- <code>trusted_merchant</code> - used for authentication of requests made for logged-in shop/application users with fixed <code>extCustomerId</code>,
- <code>partner</code> - special type of a token meant for creating entities (e.g. Shop, POS, URL) within partner firm.
Generated access token is valid for 43199 seconds.
post/pl/standard/user/oauth/authorize
Request
- Base URLhttps://secure.payu.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"grant_type": "client_credentials",
"client_id": "145227",
"client_secret": "12f071174cb7eb79d4aac5bc2f07563f"
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.