[][src]Function paypal::get_token

pub fn get_token(id: &str, secret: &str) -> Result<ResponseAccessToken, Error>

This function uses your client id and secret, and creates a bearer token that you must use to get access to the paypal endpoints